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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Jebilaya
Helper III
Helper III

List.Max with date format not working

I'm trying to filter a table in power query so that it only shows results from the max date within the report date column but my List. Max doesn't work as can't be converted to list.

 

Jebilaya_0-1665063727718.png

I've also tried using change type but then get a module reference error

 

Jebilaya_1-1665063806411.png

Help!

 

1 ACCEPTED SOLUTION
jgordon11
Resolver II
Resolver II

try using lower case c in both places ie., #"Removed columns" .  Make sure the step name is identical to what you are referencing

View solution in original post

3 REPLIES 3
jgordon11
Resolver II
Resolver II

try using lower case c in both places ie., #"Removed columns" .  Make sure the step name is identical to what you are referencing

jgordon11
Resolver II
Resolver II

= Table.SelectRows(#"Removed Columns", let max = List.Max(#"Removed Columns"[Report Date]) in each [Report Date] = max)

I get the module reference error with that @jgordon11 

 

Jebilaya_0-1665064577960.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Solution Authors