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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi!
I've looked at some solutions, but none of the ones I saw covered it if there are multiple rows with the same timestamp, which are then to be summed and return the values that can be used either in a card, or in a table.
Based on the data table below, the highlighted rows are the ones whose totals are to be summed:
Here is the data in html format, if it helps in any way:
Company ID | Company | Opportunity ID | Status | Product | Qtd | Preço R$ | Total R$ | Price | Timestamp |
2 | Company 1 | 1 | Embarcado | Item 1 | 1600 | 94,86 | 151.776,00 | 94,86 | 05/05/2023 14:26:02 |
2 | Company 1 | 1 | Embarcado | Item 5 | 1260 | 16,54 | 20.840,40 | 16,54 | 05/05/2023 14:26:02 |
4 | Company 2 | 2 | Contatado | Item 2 | 26040 | 84,01 | 2.187.620,40 | 17,14489796 | 04/05/2023 22:39:12 |
3 | Company 3 | 9 | Contatado | Item 1 | 55000 | 90 | 4.950.000,00 | 17,73119508 | 08/05/2023 18:56:35 |
3 | Company 3 | 9 | Apresentação | Item 1 | 55000 | 90 | 4.950.000,00 | 17,56530612 | 08/05/2023 20:10:30 |
4 | Company 2 | 2 | Proposta | Item 2 | 26040 | 84,01 | 2.187.620,40 | 17,32164948 | 16/05/2023 14:35:26 |
4 | Company 2 | 2 | Proposta | Item 3 | 26040 | 79,8 | 2.077.992,00 | 16,45360825 | 16/05/2023 14:35:26 |
3 | Company 3 | 9 | Proposta | Item 4 | 55000 | 86,07 | 4733850 | 17,56530612 | 26/06/2023 17:01:54 |
3 | Company 3 | 9 | Amostra | Item 4 | 55000 | 86,07 | 4733850 | 17,56530612 | 05/07/2023 13:58:31 |
Expected Result
Company | Opportunity ID | Status | Total |
Company 1 | 1 | Embarcado | R$ 172.616,40 |
Company 2 | 2 | Proposta | R$ 4.265.612,40 |
Company 3 | 9 | Amostra | R$ 4.733.850,00 |
Thank you very much!
Solved! Go to Solution.
Hi,
Please find attached the PBI file.
Hope this helps.
Hi,
Clearly show the result which you are expecting.
You're right, @Ashish_Mathur .
I've added the expected result to my question.
Thanks for your comment.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.