Forum Discussion
Max Date joined to itself
- 4 years ago
Hi MORDax ,
According to your description, here's my solution.
In Power Query, select Asset column, then click Group By tab under Transform ribbon.
Set it like this.
Get the result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MORDax , You can create a new column
max date = max(Table1[date])
or a new measure
max date = calculate(max(Table1[date]), all(Table1))
In the Power Query Editor? How do I then join the table to itself for the query Table1[Date] - Table1[MaxDate]
- amitchandak4 years ago
Super User
MORDax , Power query if you simply want max
Max of column in same table, but you need the table name in last step
List.Max("#last Step Table name"[Date])
Power Query - List.Max and List.MaxN : https://youtu.be/22a8fq2UeBw
If you want to join the table with self you have to duplicate
https://www.myonlinetraininghub.com/excel-power-query-vlookup
https://eriksvensen.wordpress.com/2019/02/28/powerquery-replicate-doing-an-excel-vlookup-in-m/