Forum Discussion

anelliaf's avatar
anelliaf
Icon for Helper II rankHelper II
6 years ago
Solved

Trailing 12-Months in Visual

I'm using the following formula to calculate the total for last month:

 

Last MTD Costs = CALCULATE(SUM('Usage Details - 2'[Cost]),PREVIOUSMONTH(dateDimension[Date]))
 
I'm using an identical formual for last YTD total, which works.  I also have no interactions with other filters set.
 
Any ideas?
 
Thanks,
Frank
 

2 Replies