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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
mdrammeh
Helper III
Helper III

Max() value of entire column

I have a dataset in Power Query that looks like the screenshot attached. I want the MAX column to return the Maximum value from the “TOTAL DESIGN” column and copy it all the way down the “MAX” column.  

Next, I want “BEST Month” column to return where the “Total Design” matches “MAX” total and call it “BEST YEAR”. And if the “BEST YEAR” Column matches “MAX” column, then rerun as “2nd BEST YEAR”. In Excel expression it’s something similar to this:

 

Design total.PNGMAX Value Question.PNG

1 REPLY 1
Sean
Community Champion
Community Champion

@mdrammeh

 

Here you go - I believe you'll find the answer you are looking for here - you may have to read all posts

(I think it was the 2nd one marked as answer, its not the 1st because that one uses a rank table)

http://community.powerbi.com/t5/Desktop/baddest-Month-of-each-Year-based-on-value/td-p/42024

 

Full credit goes to @KHorseman Smiley Happy

 

Good Luck! Smiley Happy

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.