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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.