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
Anonymous
Not applicable

Show the name of the category based on max value on a particular day

Hello Community,

 

I want to create a measure to get the name of the category that have the max value on a particular day so I have two tables: 

malekzouaridk_0-1677427405797.png

malekzouaridk_1-1677427431852.png

 

Both table are related by ID_Circuit,

 

I want the show the presses that have the max value in a particular date.

Based on a date Slicer like this: 

 

malekzouaridk_2-1677427517417.png

 

 

Thank you 

 

 

 

1 ACCEPTED SOLUTION
Ahmedy
Frequent Visitor
4 REPLIES 4
Ahmedy
Frequent Visitor

ryan_mayu
Super User
Super User

could you pls provide the sample data (not the screenshot)? which column does the max value  depend on ?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

@ryan_mayu Please find the sample data in this link:

https://docs.google.com/spreadsheets/d/1voqlEp1sh_wBmTcL5-yUXvoscoxxfgu4/edit?usp=share_link&ouid=10...

 

and the column which does the max value  depend on called KWH in the table KWH

 

Thanks for your help

 

 

then how to get the category.

e.g. the screenshot you provided the max value on 2021/10/25 is 943

 

id_circuit Jour KWh Teq CO2
3518474 25-Oct-21 943 0.08489655

 

 i can't find the id in another table





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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