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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
melhajj
Helper I
Helper I

Showing only Maximum value Row in Total column of Matrix

Greetings All,

 

I have the below table for which I have created a Matrix visual in Power BI Desktop. Each row is an hourly reading and the System Total column is the TOTAL value for each record (Total column in Matrix visual) . Is there a way to only show in the Matrix the row with the Max value ?  For e.g. in the below table , I would want to only show row # 9 which has the MAX value in all the totals , thank you in advance

 

Screen Shot 2020-08-19 at 11.24.41 AM.png

 

3 REPLIES 3
Anonymous
Not applicable

Hello @melhajj ,

Create a measure as shown below and add it to the visual level filter.

Measure = RANKX(ALL('Table'),CALCULATE(SUM('Table'[value]),ALLEXCEPT('Table','Table'[date])),,DESC,Dense)

4.PNG

5.PNG

Best regards

Jay

amitchandak
Super User
Super User

@melhajj , Assume, the value you are using in matrix is [measure] and column is [System] and row is [date hour]

 

try like


Sumx(filter(Values(Table[Date hour]),[measure]= calculate([measure],allexcept(Table,Table[Date hour]))) ,[measure])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Thank you for your reply. I just want to clarify one thing :

 

1 - The values in X,Y,Z,A,B columns are from a field coming from the table , they are not measures

2- SYSTEM TOTAL in the figure is actually the TOTAL column that comes inside the Matrix , it is not a measure 

 

So basically i want my matrix to ONLY show one record i.e. record #9 because it contains the maximum value amongst all the totals, is your approach still valid in this case ?

 

Regards,

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.