Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Good Afternoon,
I have a scenario that I am not able to fully resolve in Power Query
I have the following simplified dataset:
| ReportDate | ClientSiteDisplay | MaxDateTimeCT |
| 3/9/2023 | ABC | 2023-03-09T09:15:03 |
| 3/12/2023 | ABC | 2023-03-12T06:02:10 |
| 3/12/2023 | ABC | 2023-03-13T02:00:58 |
| 3/9/2023 | XYZ | 2023-03-09T04:57:07 |
| 3/9/2023 | XYZ | 2023-03-09T07:57:14 |
| 3/12/2023 | XYZ | 2023-03-12T08:27:32 |
I want to keep only the MaxDate by Group where GroupBy = ReportDate & ClientSiteDisplay.
So final result should look like this:
| ReportDate | ClientSiteDisplay | MaxDateTimeCT |
| 3/9/2023 | ABC | 2023-03-09T09:15:03 |
| 3/12/2023 | ABC | 2023-03-13T02:00:58 |
| 3/9/2023 | XYZ | 2023-03-09T07:57:14 |
| 3/12/2023 | XYZ | 2023-03-12T08:27:32 |
As always, any and all guidance is much appreciated!
Regards,
Solved! Go to Solution.
Decided to perform the operation in DAX instead of Power Query.
In this way, User can see the Records in Error if they so choose.
Decided to perform the operation in DAX instead of Power Query.
In this way, User can see the Records in Error if they so choose.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 16 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 41 | |
| 40 | |
| 39 | |
| 38 |