Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi, I want to add a custom column in my table within Power Query that will find the max date for each row and return it with a value of "latest date" else "older".
I have a column call testdate
any idea how to do this please?
Solved! Go to Solution.
@M_SBS_6 , I Think you want for column
a New column in power query
if [testdate] = List.Max(LastStepTableName[testdate]) then "latest date" else "older"
For List.Max, we need table name, so check what is table name last step example #"Changed Data Type"
Power Query - List.Max and List.MaxN : https://youtu.be/22a8fq2UeBw
@M_SBS_6 , I Think you want for column
a New column in power query
if [testdate] = List.Max(LastStepTableName[testdate]) then "latest date" else "older"
For List.Max, we need table name, so check what is table name last step example #"Changed Data Type"
Power Query - List.Max and List.MaxN : https://youtu.be/22a8fq2UeBw
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
70 | |
42 | |
42 |
User | Count |
---|---|
49 | |
42 | |
29 | |
28 | |
26 |