Forum Discussion
Nemes
8 years agoFrequent Visitor
Issues with measure using time intelligence
Hello, I've been running into issues when creating measures, particularly with time intelligence (for example SAMEPERIODLASTYEAR). Here is a stripped down version of my report, with only the ...
- 8 years ago
How about this one
Total Amount Last Year = CALCULATE ( [Total Amount], SAMEPERIODLASTYEAR ( 'Dates'[Date] ), ALL ( Dates ) )
Zubair_Muhammad
8 years agoCommunity Champion
How about this one
Total Amount Last Year =
CALCULATE (
[Total Amount],
SAMEPERIODLASTYEAR ( 'Dates'[Date] ),
ALL ( Dates )
)Nemes
8 years agoFrequent Visitor
That does seem to work! I thought I tried this before, but I think I tried ALL('Dates'[Date]) instead of ALL(Dates). I'm not sure why specifying only the Date column as an argument to ALL doesn't work, considering thre are no date duplicates.
Would you know why I need to specify the ALL() function, unlike all of the other how-to's and guides that I've found on this subject?