Forum Discussion
Power Query: List.Max doesn't work on Date
- 8 years ago
Hi ovetteabejuela,
As I tested, you need to create the date column as a list, then use it in List.Max(). I have the following sample table.2. Create a custom column using the formula.
=List.Max(#"Changed Type"[Date])
3. You will get the expected result as follows.
Best Regards,
Angelia
So I added a column with this formula:
=List.Max([Date Column])
Hi ovetteabejuela,
As I tested, you need to create the date column as a list, then use it in List.Max(). I have the following sample table.
2. Create a custom column using the formula.
=List.Max(#"Changed Type"[Date])
3. You will get the expected result as follows.
Best Regards,
Angelia
- KasparsT7 years agoRegular Visitor
Hi v-huizhn-msft!
But how to get max date for each Customer number if it have few of them?
Thanks
Kaspars
- StephenF6 years agoResponsive Resident
How do i do this with an Column of type Int? There is no such thing as a list item in the dropdown i can transform this too.