Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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 FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
126 | |
113 | |
69 | |
59 | |
46 |