Working With Multiple Dates In Power BI

No comments

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 – Power BI Resources

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s