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 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hey,
I have a question I am struggling with for a little while now.
I current have some data that looks like this:
Each row has the same timestamp and ID since it is generated at the same time. This is basically a price calculation. The aim is to have only one row per ID and timestamp.
I grouped by max date to get only the latest results. I also followed https://community.powerbi.com/t5/Desktop/Sum-of-Certain-Rows/m-p/871024 this solution to get the numbers as sum in one row. The problem here is that it keeps every row and removing duplicates results in having one row, yes, but the calculated colomn is not working properly after the removal.
I need this results but with only one row per ID and max. timestamp.
Can´t figure it out and help is much appreciated.
Kind regards
Molly
Solved! Go to Solution.
Hi, @Anonymous
You can try the following methods.
Sample data:
Column:
Column = CALCULATE(MAX('Table'[Mod]),FILTER('Table',[ID]=EARLIER('Table'[ID])))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
You can try the following methods.
Sample data:
Column:
Column = CALCULATE(MAX('Table'[Mod]),FILTER('Table',[ID]=EARLIER('Table'[ID])))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
could you pls provide the sample data (not the screenshot) and the expected output?
Proud to be a Super User!
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 28 | |
| 28 | |
| 19 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 37 | |
| 29 | |
| 18 | |
| 17 | |
| 15 |