Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I have a table that among other columns has an ID and a Timestamp which records the moment when that row was created. For some reasons I'm not going to dive into some IDs are duplicated with different timestamps. I would like to remove them in Power Query by saying: if there are multiple rows with the same ID, keep only the one with the minimum Timestamp. The ID column should in the end be the primary key of the table. I would be able to do this in DAX but I'm not capable of doing that in M.
Thanks for any help.
Solved! Go to Solution.
You can achieve that by doing the following steps:
You can achieve that by doing the following steps:
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 9 | |
| 9 | |
| 7 | |
| 7 |