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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Wearin
Frequent Visitor

How to Create a weighted Average Instead of Averaging Percentages in a Matrix?

Sorry if that subject is confusing, but I will explain it in detail here.

 

I have a matrix that has Jobs and People as rows. I then have 3 columns, the amount of money someone had previously, the amount they have now, and a column that is New amount / Old Amount to get the Percent changed. I am Summarizing the Percent Changed as an Average.

 

Wearin_0-1623272446089.png

What I want to happen here is for it to be a weighted average here instead of what is happening. I want the totals to reflect overal percentage change per category. 

 

So for example, instead of  Dev's average being 3.583 from the averaging of 7, 1.25, and 2.5, I want it to be 1757/1201= 1.46 to get an actualy representation of the overall change.

 

I know I can do this with a measure for the sum of those two columns, but I am trying to find a way to accomplish this without adding extra columns or making a seperate visual, because the ability to neatly get all that information per category is extremely useful.

 

Is there a way to accomplish this?

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Can you just change your Average of % Change measure to this?

 

DIVIDE([NewAmount], [PreviousAmount])

 

That should get the same values for each person and your desired result at the job level.

 

Pat

 

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

Can you just change your Average of % Change measure to this?

 

DIVIDE([NewAmount], [PreviousAmount])

 

That should get the same values for each person and your desired result at the job level.

 

Pat

 

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hello Pat,

I'm an idiot. Thank you!

Since Measure requires doing some form of measure for the data (in this example Sum) I assumed I couldn't do it in this specific scenario without it summing ALL values, but that was exactly what I needed.

 

 

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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