Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have one Bar chart Visualization and I need percentage Difference value from the previous value.
For Example below Image:
 
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
Solved! Go to Solution.
 
					
				
		
@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) 
					
				
		
@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.
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 87 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |