Forum Discussion

jkinstler's avatar
jkinstler
Regular Visitor
5 years ago

Time intelligence functions not working unless date filter is included

I am having issues getting the time  intelligence dax funcations to work how I would expect them to.   I am using the AdventureWorks tabular model and created the following simple measure.  Can anyone explain to me why this returns a blank when I drag it on to the screen with no other filters?  Once I add a date filter or include the date in the table it then works.  How can I get this to show previous year data based on todays date?

Measure:

Internet Total Sales (PY) = CALCULATE([Internet Total Sales], PREVIOUSYEAR('Date'[Date]) )

2 Replies