Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
How would you calculate the % change over the same months from this year to last year?
For example, I would like to calculate the % change from January to April of this year to January to April of last year?
I can't do YTD calculation or calculate using Quarters....any suggestions?
Please assume the date field is called ProjDate.
Thanks!
Solved! Go to Solution.
I assume you have a total sales measure
Try this
Total Sales Last Year = CALCULATE ( [Total Sales], SAMEPERIODLASTYEAR(YourDateTable[ProjDate]))
Diff This Year - Last Year = IF(ISBLANK([Total Sales Last Year]), BLANK(),[Total Sales] - [Total Sales Last Year])
% Diff = DIVIDE ([Diff This Year - Last Year],[Total Sales Last Year])
Also watch this video https://www.youtube.com/watch?v=JNt-_QByeLk
I assume you have a total sales measure
Try this
Total Sales Last Year = CALCULATE ( [Total Sales], SAMEPERIODLASTYEAR(YourDateTable[ProjDate]))
Diff This Year - Last Year = IF(ISBLANK([Total Sales Last Year]), BLANK(),[Total Sales] - [Total Sales Last Year])
% Diff = DIVIDE ([Diff This Year - Last Year],[Total Sales Last Year])
Also watch this video https://www.youtube.com/watch?v=JNt-_QByeLk
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
50 | |
42 | |
40 |