Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I tried following a solution I found online and it isn't quite working. I was able to create a column that shows the prior month's data, but I can't figure out how to then calculate the percentage change between the two columns.
See columns Deliveries & Deliveries MoM, and Delivery % Change error up top in my calculation
Solved! Go to Solution.
You can try this approach.
Pct Change MOM = var thismonth = sum('Table1'[Deliveries])
var lastmonth = [Deliveries MOM] //your existing measure
return divide((thismonth-lastmonth), lastmonth)
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@SirJJAnderson , Try like
chnage % = DIVIDE((SUM(Table1[Deliveries]) - [Deliveries MOM]), [Deliveries MOM])
And Mark it as % column
You can try this approach.
Pct Change MOM = var thismonth = sum('Table1'[Deliveries])
var lastmonth = [Deliveries MOM] //your existing measure
return divide((thismonth-lastmonth), lastmonth)
If this works for you, please mark it as the solution. Kudos are appreciated too. Please let me know if not.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
So this formula worked, but technically is not correct. You're right about needing to subtract Deliveries MOM from Table1[Deliveries] before I do the divide.
@SirJJAnderson , Try like
chnage % = DIVIDE((SUM(Table1[Deliveries]) - [Deliveries MOM]), [Deliveries MOM])
And Mark it as % column
Delivery MOM is a measure no need of table name just [Delivery MOM] fine
No need of SUM too
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |