Forum Discussion
Percent Change By Month per Customer
I am a Power BI newbie and am needing some help calculating the percent change each month by customer. I would also like to be able to see the amount changed each month as well.
My table looks like the below screenshot, with the highlighted column being the info I want to use for the change.
I tried creating two measures to accomplish what I wanted but I am not getting any information on my report.
Measure 1:
Hi akendrick15 ,
Please refer to this blog:
https://www.sqlservercentral.com/articles/month-over-month-calculation-using-dax-in-power-bi
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- amitchandak
Super User
akendrick15 , You should use date table for time intelligence
examples
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
last MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(dateadd('Date'[Date],-1,MONTH)))
last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))Power BI — Month on Month with or Without Time Intelligence
https://medium.com/@amitchandak.1978/power-bi-mtd-questions-time-intelligence-3-5-64b0b4a4090e
https://www.youtube.com/watch?v=6LUBbvcxtKA - V-lianl-msft
Community Support
Hi akendrick15 ,
Please refer to this blog:
https://www.sqlservercentral.com/articles/month-over-month-calculation-using-dax-in-power-bi
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.