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

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.

Reply
kahnailee
Advocate I
Advocate I

Max within row of pivoted dates

 Example data:

 

 Date            11/1 11/2 11/3 11/4

ProductA     10.45 10.45 10.81 10.45

ProductB      24.64 27.00 24.64 24.64

ProductC      50.61 50.61 50.61 55.00

 

Sorry for the crudity, but I basically want a custom measure that would show the MAX cost for each product across all available dates as the date span will change over time.

 

Thanks!

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

Unpivot the dataset to convert it into a 3 column one.  In your visual, drag the Product to the row labels.  Write this measure

 

=MAX(Data[Value])

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks, but that won't work within my application as I need to keep the data pivoted to allow for the dates to remain within the columns. Any other suggestions? Perhaps filter?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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