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

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.

Reply
mohittimpus
Helper V
Helper V

How to get Percentage Difference value in Bar Chart

 I have one Bar chart Visualization and I need percentage Difference value from the previous value.

For Example below Image:

 

Screenshot_4.png 

For example = 

To get Percentage Formula is = (current value - previous value)/ previous value

(210-120)/120 = 90/120 = 3/4 = 75% 

 

Below I am sharing .pbix file: 

https://drive.google.com/open?id=1CBP0kt7eUoJqbVM-CR9xXQgapgsbE0vz

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@mohittimpus Please create below measure to get percentage change

Measure = 
VAR _currValue = MAX('Sample'[Value])
VAR _preValue = CALCULATE(MAX('Sample'[Value]),'Sample'[Value]<_currValue)
VAR _prevData =  CALCULATE(SUM('Sample'[Data]),'Sample'[Value]=_preValue)
VAR _currData = SUM('Sample'[Data])
RETURN DIVIDE((_currData-_prevData),_prevData,0)

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@mohittimpus Please create below measure to get percentage change

Measure = 
VAR _currValue = MAX('Sample'[Value])
VAR _preValue = CALCULATE(MAX('Sample'[Value]),'Sample'[Value]<_currValue)
VAR _prevData =  CALCULATE(SUM('Sample'[Data]),'Sample'[Value]=_preValue)
VAR _currData = SUM('Sample'[Data])
RETURN DIVIDE((_currData-_prevData),_prevData,0)

Thank you @Anonymous  It is working fine and I got my Required output.

Helpful resources

Announcements
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 Kudoed Authors