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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
ThisIsIt
Frequent Visitor

Card from Matrix (highest value)

Hello Everyone!  Maybe you can can?  I'm trying to get create a card that shows the max value from a matrix I have (minus the totals).  I thinking I need to create a DAX to do this, but haven't been able to figure this out.  Below is an example of the matix that I'm trying to get the Card to show the highest value.

 

ThisIsIt_0-1672672419077.png

Thank you!

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ThisIsIt , a new measure like

 

Maxx(Summarize(Table, Table[Product], Table[Country]), [Measure])

 

or

calculate(

Maxx(Summarize(Table, Table[Product], Table[Country]), [Measure]), allselected())

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

View solution in original post

3 REPLIES 3
v-yueyunzh-msft
Community Support
Community Support

Hi , @ThisIsIt 

According to your description, you want to get the highest data in your Matix Visual. 
Here are the steps you can refer to :
(1)This is my test data:

vyueyunzhmsft_0-1672711050106.png

(2)We can create a measure like this , you just need to replace the table name and column name and the measure name in your side :

Measure = var _t  = SUMMARIZE( ALLSELECTED('Table') , 'Table'[Country], 'Table'[Product] , "Value" , [Value SUm])
return
MAXX(_t ,[Value])

(3)Then we can meet your need:

vyueyunzhmsft_1-1672711099948.png

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

amitchandak
Super User
Super User

@ThisIsIt , a new measure like

 

Maxx(Summarize(Table, Table[Product], Table[Country]), [Measure])

 

or

calculate(

Maxx(Summarize(Table, Table[Product], Table[Country]), [Measure]), allselected())

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

Thank you very much!  The "Maxx(Summarize(Table, Table[Product], Table[Country]), [Measure])" solution worked for me.  Much appreciated!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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