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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors