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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
eburg
Frequent Visitor

Percent Change Help

Hi- looking for help on how to calculate a simple year over year percent change. The first table shows the totals for each period in three fiscal years. Table two uses a measure to try and calculate % change. That measure is inserted below for reference. Obviously it's not working right as the percentages are way off. 

 

So for example the % change in the most recent period 9 would be 7.99% (9,242 vs 8,558 last year). and it's calculating at 20.2% percent. Any help with this measure or a different solution is greatly appreciated. Thanks.  

 

1.PNG2.PNG

4 REPLIES 4
Anonymous
Not applicable

Hi @eburg ,

 

You are using ALL('Fiscal Calendar'). In my opinion, that will ignore the [Fiscal Period] filter.

You could try using ALLSELECTED() instead.

Or add another condition: [Fiscal Period] = selectedvalue([Fiscal Period]) in the filter.

If it still doesn't work, please share the pbix so that we could test the formula.

 

Best Regards,

Jay

eburg
Frequent Visitor

My question on that example is I'm clear on why that additional table is needed. 

I did not have any problem with your Calculation, if you want I can share my PBIX ...

 

ribisht17_0-1653464902891.png

Total Sales LY =
VAR LY = SELECTEDVALUE(Orders[Year of Order Date],1)-1
VAR PY_AMT=
CALCULATE(sum(Orders[Profit]),
Orders[Year of Order Date]=LY
)
VAR RESULT=(SUM(Orders[Profit])-PY_AMT)/PY_AMT
RETURN RESULT
 
Regards,
Ritesh
ribisht17
Super User
Super User

@eburg 

 

Please check this example Solved: Calculating Percent Change - Microsoft Power BI Community

 

Regards,

Ritesh

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors