How To Work With Multiple Dates In Power BI

How To Work With Multiple Dates In Power BI

One comment

As soon as you start developing a few Power BI models, you’ll very likely run into this problem … You have two dates in your fact table (your transaction table) and you can’t place two relationships between your date table and the other table.

You might even have multiple dates, like entered date, ordered date, invoiced date, shipped date and potentially others. You might think that there is a problem with Power BI, or that you need a brand new date table.

You don’t actually need another table, nor do you need to worry.

The key thing to realise is that you can have multiple relationships between tables – you just can’t have more than one ‘active’ relationship. You can have lots of ‘inactive’ relationships. The trick with inactive relationships is that you can turn them ‘on’ by using the right DAX formula.

There’s a little bit to it, but once you get your head around this you can build some very effective Power BI data models.

In this video, I also run through the CALCULATE function and the USERELATIONSHIP function – both really important functions in the DAX formula language, so well worth learning.

By using these techniques, you’ll have the ability to quickly filter your data by any of these dates, and you open out a range of analysis that traditionally (with Excel) would have been very time-consuming to create.

Check out the video to learn much more.

***** Learning Power BI? *****
All Enterprise DNA TV Resources
FREE COURSE – Ultimate Beginners Guide To Power BI
FREE COURSE – Ultimate Beginners Guide To DAX
FREE – 60 Page DAX Reference Guide Download
FREE – Power BI Resources
Enterprise DNA Membership
Enterprise DNA Online

 

***Learn more about Enterprise DNA Membership***membership banner 3

1 comments on “How To Work With Multiple Dates In Power BI”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.