Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
@alexbalazsalex , for last month you can try time intelligence with date table
example
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
Hi @amitchandak
Thanks for your quick reply,
This doesnt work for me as i want the difference not between the last month but the mont i selected.
Lets say i select price of Jan21, so the graph will show Jan21 price as 0 as its jan21-jan21, than we will have Feb21-Jan21, Mar21-Jan21, Apr21-Jan21 etc....
With the part of Jan to be chaned actively .
Thanks
Alex
@alexbalazsalex , Do you need to slicer to select the month and take diff ?
if yes, then refer, else share some example output
How to use two Date/Period slicers :https://www.youtube.com/watch?v=WSeZr_-MiTg
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
92 | |
86 | |
85 | |
66 | |
49 |
User | Count |
---|---|
140 | |
113 | |
106 | |
64 | |
60 |