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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
forti4040
Helper III
Helper III

Max Column in Row of Dates

Hello All,

I have a table with 6 columns of dates. I'm trying to add another column that calculates the MAX date from those 6 columns. I'm trying to do this in the query editor, not in DAX. I don't think list.max or table.max accomplish what I'm trying to do...but I'm not 100% sure. 

 

Any help would be appreciated. 

3 REPLIES 3
camargos88
Community Champion
Community Champion

Hi @forti4040 ,

 

try this m code:

 

List.Min({
[Column1],[Column2],[Column3],[Column4],[Column5],[Column6]
})

 

 



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

Proud to be a Super User!



@camargos88 ,

Amazing what a difference one little symbol makes!

 

I had left out the "{" & "}" in my equation...

 

Thank you for the guidance. I figured this had to be pretty straight forward 🙂

@forti4040 ,

 

Nice you got it done!



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

Proud to be a Super User!



Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.