March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello everyone!
quick question
Is there a convenient way to calculate the percentage change in a single value?
I have a graph that creates a month-to-month comparison based on years
I want to calculate the percentage change from month to month
Familiar?
Solved! Go to Solution.
Hi, @netanel
You can try something like:
MoM% Measure =
VAR PREV_MONTH = CALCULATE(SUM('P&L'[Values]), DATEADD('Date'[Date], -1, MONTH)
//Replace 'Date'[Date] by your date column coming from Calendar table
VAR CURR_MONTH = SUM('P&L'[Values]) --Selected by slicer
RETURN
DIVIDE(CURR_MONTH - PREV_MONTH, PREV_MONTH )
Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.
Appreciate your Kudos !!!
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/
Proud to be a Super User!
Hi, @netanel
You can try something like:
MoM% Measure =
VAR PREV_MONTH = CALCULATE(SUM('P&L'[Values]), DATEADD('Date'[Date], -1, MONTH)
//Replace 'Date'[Date] by your date column coming from Calendar table
VAR CURR_MONTH = SUM('P&L'[Values]) --Selected by slicer
RETURN
DIVIDE(CURR_MONTH - PREV_MONTH, PREV_MONTH )
Did I answer your question? Please Like and Mark my post as a solution if it solves your issue. Thanks.
Appreciate your Kudos !!!
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |