Forum Discussion
adieball
Helper I
8 years agoLatest Date based on multiple columns
Hi I have a source that has multiple date columns. I need to find the latest date over all e.g. three columns. How can I do this? any help is appreciated thanks
- 8 years ago
Also using the Query Editor's User Interface,,, you can add a column for latest date
Select all the Date Columns and select Latest date as shown in image below
v-danhe-msft
Microsoft Employee
8 years agoHi adieball,
Based on my test, you could refer to below steps:
Add a customer column in query editor:
=List.Max({[Column2], [Date1], [Column1]})
Apply it and create a measure:
myMax = MAX('Table1'[Latest])Now you could see the correct result.
Regards,
Daniel He
- Zubair_Muhammad8 years ago
Community Champion
Also using the Query Editor's User Interface,,, you can add a column for latest date
Select all the Date Columns and select Latest date as shown in image below