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
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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors