Forum Discussion

damit23183's avatar
damit23183
Microsoft Employee
5 years ago
Solved

Time Intelligence Calculation Not working

Hi,

 

I have two tables One Fact table and one date table which are mapped based on DATE columns from both tables.

 

I am trying to calculate Count ID from Fact Table for TOTALYTD, TOTALQTD, TOTALMTD with respect to Date column from DATE table but its not working.

 

The formula I am using is: TOTALYTD(DISTINCTCOUNT(ID), DATE[DATE]) - Its not working giving me NUL value

 

However if i use the date column from Fact Table  its working,

 

TOTALYTD(DISTINCTCOUNT(ID), FACTTABLE[DATE]) - This is working.

 

Why its not working when I use DATE[DATE]?

 

The relationship betweeen two tables is One (Date) to Many (Fact) with BOTH CROSS FILTER DIRECTION.

 

Any suggestion?

 

Thanks

5 Replies