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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Write New Query to return Maximum Date from table

I trying to create a list of Dates table from another table.  I would like to extract from the other table the maximum and minimum dates in the table.  I could just use the table and find the values but I don't want the extra code that was required to add the original Dates.  I need help in writing the query.    This is what I tried:

 

= Table.Column(#"Case List",maximum([End Date])) 

= Table.Column(#"Case List",([End Date]))

1 REPLY 1
edhans
Super User
Super User

Use this:

List.Max(#"Case List"[End Date])


Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.