Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Fidezuri1990
Helper I
Helper I

Month to Month Change % Formula not showing correctly

Hi,

I have 3 KPIs: KPI01, KPI06 & KPI07. I am trying to calculate the month-to-month change for each KPI. As an example, Aug KPI01 minus July KPI01, and Sep KPI01 minus Aug KPI01. However, the output showed totally different values. It takes Jul KPI06 minus Jul KPI01. I attached the formula and the table. Looking forward to some advice. Thank you.

 

Refer to last column for the outputs.

Fidezuri1990_0-1723165646386.png

 

The formula.

Fidezuri1990_1-1723165670333.png

Thank you. 

 

1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@Fidezuri1990 

pls try this

Column =
var _last=maxx(FILTER('Table','Table'[KPI No.]=EARLIER('Table'[KPI No.])&&'Table'[Date]=EDATE(EARLIER('Table'[Date]),-1)),'Table'[Final Assessed APS%])
return if(ISBLANK(_last),blank(),'Table'[Final Assessed APS%]-_last)
 
11.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
ryan_mayu
Super User
Super User

@Fidezuri1990 

pls try this

Column =
var _last=maxx(FILTER('Table','Table'[KPI No.]=EARLIER('Table'[KPI No.])&&'Table'[Date]=EDATE(EARLIER('Table'[Date]),-1)),'Table'[Final Assessed APS%])
return if(ISBLANK(_last),blank(),'Table'[Final Assessed APS%]-_last)
 
11.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.