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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
jay_patel
Helper IV
Helper IV

how to get maximum value

hello  guys

 

looking for a dax,if i filter name "Punit" then the card should give '70' i.e, max for name. 

nametotalmins
punit30
punit50
punit70
punit10
bharat20
bharat20
bharat30
1 ACCEPTED SOLUTION
v-angzheng-msft
Community Support
Community Support

Hi, @jay_patel 

 

I'm not sure you need to get the desired results in table or card visual, so I've provided some of the results you might expect.

Create a measure to use on the card:

max = MAX('Table'[totalmins])

Or you want to get the desired result on the table:

max for name =
CALCULATE ( MAX ( 'Table'[totalmins] ), ALLEXCEPT ( 'Table', 'Table'[name] ) )

You can choose the effect that suits you according to your preferences.

The sample effect is as follows:

Sample data:

v-angzheng-msft_0-1618540471005.jpeg

Result:

v-angzheng-msft_1-1618540471007.jpeg

 

v-angzheng-msft_2-1618540471011.jpeg

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-angzheng-msft
Community Support
Community Support

Hi, @jay_patel 

 

I'm not sure you need to get the desired results in table or card visual, so I've provided some of the results you might expect.

Create a measure to use on the card:

max = MAX('Table'[totalmins])

Or you want to get the desired result on the table:

max for name =
CALCULATE ( MAX ( 'Table'[totalmins] ), ALLEXCEPT ( 'Table', 'Table'[name] ) )

You can choose the effect that suits you according to your preferences.

The sample effect is as follows:

Sample data:

v-angzheng-msft_0-1618540471005.jpeg

Result:

v-angzheng-msft_1-1618540471007.jpeg

 

v-angzheng-msft_2-1618540471011.jpeg

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

 

Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Jihwan_Kim
Super User
Super User

Hi, @jay_patel 

I am not sure if I understood your question correctly, but please check the sample pbix file's link down below.

 

I think you can write the below measure.

Or, if I missed something, please let me know.

 

Result = MAX('Table'[totalmins])
 
Picture3.png
 
 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Linkedin: https://www.linkedin.com/in/jihwankim1975/


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors