Time intelligence functions

DAX users in Power bi tend always to do the same mistake, They apply Time Intelligence Functions “TIF” on a column dates that contain duplicate dates or gaps. Wrong, very wrong!

If the date column in your model contains duplicate dates then TIF will return an error

and if there is gaps in it then TIF will not return the most accurate result and can induce the user into false analysis.

Therefore the best practice to avoid mistakes in your model and your calculations using TIF is to add a Calendar Table(dimension Table) and join it with the column date from the fact table.

Spread the word

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 )

Connecting to %s

%d bloggers like this: