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
mbroderick
Frequent Visitor

Min/Max from Matrix Visual

I have the matrix below. Is there a way to get the min/max of each row in the matrix? Each is based on a measure called RegSum. Thanks.

 

Matrix.jpg

1 ACCEPTED SOLUTION

I got it solved by creating a new measure, which I can put in a second matrix.

 

MaxValue= MAXX ( SUMMARIZE ( Table1, Table1[Category], Table1[YearTerm] , "MaxCol", [RegSum] ), [MaxCol] )

MinValue= MINX ( SUMMARIZE ( Table1Table1[Category], Table1[YearTerm] , "MinCol", [RegSum] ), [MinCol] )

 

This link was very helpful:

https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

Do you want to create 2 additional columns showing the min and max for each row?  If yes, i do not think that is possible.  What is possible though is to get the min or max for each row in the Grand Total column.

 

If that works for you, share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I got it solved by creating a new measure, which I can put in a second matrix.

 

MaxValue= MAXX ( SUMMARIZE ( Table1, Table1[Category], Table1[YearTerm] , "MaxCol", [RegSum] ), [MaxCol] )

MinValue= MINX ( SUMMARIZE ( Table1Table1[Category], Table1[YearTerm] , "MinCol", [RegSum] ), [MinCol] )

 

This link was very helpful:

https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149

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.