Forum Discussion
Prior Month YTD Issue
I am trying to work with 2 measures:
Hi Anonymous ,
You can change measure Prior Month YTD using DAX below.
Prior Month YTD = IF([Current Month YTD]=BLANK(),BLANK(),CALCULATE([Total Group Currency], DATEADD(Dates[Date], -1, MONTH), MONTH(Dates[Date])<>12))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
5 Replies
- v-xicaiCommunity Support
Hi Anonymous ,
You can change measure Prior Month YTD using DAX below.
Prior Month YTD = IF([Current Month YTD]=BLANK(),BLANK(),CALCULATE([Total Group Currency], DATEADD(Dates[Date], -1, MONTH), MONTH(Dates[Date])<>12))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Hi, v-xicai
Thanks for your answer, I'm afraid that my total is still working wrong =(, now I do not see April any more but I'm not sure why the Total sum is still the same as before:
Yessi
- v-xicaiCommunity Support
Hi Anonymous ,
Try to refresh , or you can try it again after updating to the latest version of Power BI Desktop 2.68.5432.841.
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicableIt works for me .Thanks.KG