Forum Discussion
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.
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 ( Table1, Table1[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
2 Replies
- Ashish_MathurSuper 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.
- mbroderickFrequent Visitor
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 ( Table1, Table1[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