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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors