Forum Discussion

sm88483's avatar
sm88483
Frequent Visitor
4 years ago
Solved

How to automatically filter for max value

I want power query to automatically filter for the most recent date in the date column.   The current code is shown below, in the last line of code there is the date field which is manually input, ...
  • wdx223_Daniel's avatar
    4 years ago

    #"Filtered Rows" = Table.SelectRows(#"Changed Type", each [Prices1.Date] = List.Max(#"Changed Type"[Prices1.Date]))