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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Suryaann
Frequent Visitor

MAX of date in query editor

Hi All,

 

Help needed.I want to get the recent date present in a date column in query editor.In my case i cannot do it in dax.

So kindly help to add a new column MAX(date) in query editor

 

Sample table column

Date                Max(date){New column}

1-01-2019       3-01-2019

2-01-2019       3-01-2019

3-01-2019       3-01-2019

 

 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Add a column in Advanced Editor

#"Added Custom" = Table.AddColumn(#"Removed Columns", "Custom", each List.Max(#"Removed Columns"[Date]) , type date)

#"Removed Columns"    should be the name of the previous step

View solution in original post

1 REPLY 1
HotChilli
Super User
Super User

Add a column in Advanced Editor

#"Added Custom" = Table.AddColumn(#"Removed Columns", "Custom", each List.Max(#"Removed Columns"[Date]) , type date)

#"Removed Columns"    should be the name of the previous step

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