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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
jinyli
New Member

Different Aggregation for Matrix Columns

Hi everyone!

 

I'm running into a problem when using matrix. I want to show 3 fields: value, total count and the percentage. Percentage is a calculated column computed with value/total. 

 

Screen Shot 2019-08-29 at 4.52.03 PM.png

 

The problem is that each field has to be summarized in some way since there are slicers on the data. I used Sum for value and total acount, and there's no issue. However I don't know how I should summarize the percentage. Simply taking average of them, like I did in the picture,  is clearly wrong. You see that the percentages aren't equal to value/total count. Ideally I want the percentage to be dynamic, always reflecting value/total count. Is there any way to do it in matrix? If not, what visualization should I choose, if I want to see the 3 fields in 2 dimensions(date and product) ?

 

Thanks!

 

1 ACCEPTED SOLUTION
Nathaniel_C
Community Champion
Community Champion

 

 

Hi @jinyli ,

Two pictures below. First a table named Matrix with truncated portion of your values. Second contains the measure P1 and the matrix visual. Instead of using the column PERCENT use the measure to show the percentage. Just remember to format your measure  as a percentage.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

 

 

Product percent.PNG 

 

Product percent2.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Nathaniel_C
Community Champion
Community Champion

 

 

Hi @jinyli ,

Two pictures below. First a table named Matrix with truncated portion of your values. Second contains the measure P1 and the matrix visual. Instead of using the column PERCENT use the measure to show the percentage. Just remember to format your measure  as a percentage.

 

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

 

 

Product percent.PNG 

 

Product percent2.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Solved my problem. Thank you so much!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors