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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.