Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi
I am having below data in my table
| Name | Category | Supply | Value |
| A | AH | BG | 200 |
| A | SH | FJ | 300 |
| A | AJ | DK | 1000 |
| B | DH | SJ | 5000 |
| B | FKG | DK | 20 |
| B | SH | WL | 12 |
I need to take out the maximum value from the above table and expecting below output
My expected output
| Name | Category | Supply | Value |
| A | AJ | DK | 1000 |
| B | DH | SJ | 5000 |
Can anyone advise how to do this?
Solved! Go to Solution.
Hi,
Please use this DAX
Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !! PL 300 Certification Series
Thanks for marking the answer :), have a good day!
Regards,
Ritesh
Hi,
These measures work
Max value = MAX(Data[Value])Category at maximum value = CALCULATE(MIN(Data[Category]),FILTER(VALUES(Data[Value]),Data[Value]=max(Data[Value])))Supply at maximum value = CALCULATE(MIN(Data[Supply]),FILTER(VALUES(Data[Value]),Data[Value]=MAX(Data[Value])))
Hi,
Please use this DAX
Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !! PL 300 Certification Series
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!