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
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
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.

Top Solution Authors