Forum Discussion
Anonymous
4 years agoNot applicable
Rolling 12 Month Without current Month
Hello, I need an advice. I'm trying to calculate the Rolling 12M and what I need when it comes to the months of rolling 12 is as below If I'm looking in Jan 2022 then my 12 month previous sho...
- 4 years ago
Anonymous , try like
Sales LY_R12 =CALCULATE([Sales],DATESINPERIOD('Date'[Day],eomonth(MAX('Date'[Day]),-1) ,-12,MONTH))
amitchandak
Super User
4 years agoAnonymous , try like
Sales LY_R12 =
CALCULATE([Sales],DATESINPERIOD('Date'[Day],eomonth(MAX('Date'[Day]),-1) ,-12,MONTH))
- Anonymous4 years agoNot applicable
Thanks a lot amitchandak . I used another logic eventhough I was getting the answer my total was not reading the last month total and your dax was giving the right totals as well.