Forum Discussion
Have issue with M Query List.Max(Date), it did not return the Latest date for me.
- 5 years ago
Hi wangjian
I can't reproduce the problem with my sample data copied from yours, this works correctly
= Table.AddColumn(#"Changed Type", "IsLatestDate", each List.Max(#"Changed Type"[Date]))and gives Nov 18th as the latest date.
If you sort the Date column in Descendingorder what do you get?
Phil
If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.
Hi wangjian
I can't reproduce the problem with my sample data copied from yours, this works correctly
= Table.AddColumn(#"Changed Type", "IsLatestDate", each List.Max(#"Changed Type"[Date]))
and gives Nov 18th as the latest date.
If you sort the Date column in Descendingorder what do you get?
Phil
If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.
- Anonymous1 year agoNot applicable
The problem arises when dates are in different formats.