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
Anonymous
Not applicable

% Difference Measurement

Hi everyone, 

How do I create a measurement that will show the difference between 2 percentages?

Quarter1st %2nd % % Diff
Q1 202025%16%9%
Q2 202015%16%-1%
Q3 202020%16%4%
Q4 202030%16%14%

 

Please note that 1st % is averaged, while 2nd % is another measurement. 

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@Anonymous 


Average 1st measure = Average([1st%])

Then diff = [Average 1st] - [2nd&]

 

If this does not work, please share a sample table of you original table, dax is based on data table not table visuals, so it is hard to say without data table.

 

 

Paul Zheng _ Community Support Team

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@Anonymous 


Average 1st measure = Average([1st%])

Then diff = [Average 1st] - [2nd&]

 

If this does not work, please share a sample table of you original table, dax is based on data table not table visuals, so it is hard to say without data table.

 

 

Paul Zheng _ Community Support Team

Anonymous
Not applicable

*Additional Information*

The 1st % is an aggregated average. If someone could help me to write a dax version of the aggregated average function that I clicked, as seen in the image that would be much appreciated.

rlee300_0-1626209134408.png

 

selimovd
Super User
Super User

Hey @Anonymous ,

 

you can just subtract the measures if you just want to get the difference:

% Diff = [1st %] - [2nd %]

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 
Anonymous
Not applicable

Hi Denis, Unfortunately, the 1st % is not a measurement.

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.