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
Hello,
I have a table containing chronological snapshots of some data which keeps growing by adding new snapshots and adding new entries:
| snapshot-date | entry-id | measurement |
| 06/07/2023 | 001 | some numerical value |
| 06/07/2023 | 002 | some numerical value |
| 06/07/2023 | 003 | some numerical value |
| 06/01/2023 | 001 | some numerical value |
| 06/01/2023 | 002 | some numerical value |
| 05/15/2023 | 001 | some numerical value |
| 05/15/2023 | 002 | some numerical value |
I would like to create a NEW table which will only contain the entries from the LATEST snapshot, whatever that is:
| snapshot-date | entry-id | measurement |
| 06/07/2023 | 001 | some numerical value |
| 06/07/2023 | 002 | some numerical value |
| 06/07/2023 | 003 | some numerical value |
I assume this is basic stuff, but somehow neither google nor the other forum-entries have led me in the right direction.
Your help is much appreciated.
Solved! Go to Solution.
Table.SelectRows(#"Changed Type", let latest = List.Max(#"Changed Type"[#"snapshot-date"]) in each [#"snapshot-date"] = latest)
Table.SelectRows(#"Changed Type", let latest = List.Max(#"Changed Type"[#"snapshot-date"]) in each [#"snapshot-date"] = latest)
Thank you - I just noticed, that the "filter latest" is available from the date filter options on the column, and it produced exactly the same code as your solution.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 5 | |
| 5 | |
| 3 |