Forum Discussion
Sum Removing Duplicates
- 1 year ago
Hello Soc3,
We hope you're doing well. Could you please confirm whether your issue has been resolved or if you're still facing challenges? Your update will be valuable to the community and may assist others with similar concerns.
Thank you.
Hi, you would need to show the entire table. With limited information I'd recommend using Power Query to transform your data a bit more again.
In Power Query, Group by Unique ID and apply below logic to handle cancellations:
- In Power Query Editor, select your table.
- Go to 'Transform', and then 'Group By'
- Group by 'Unique ID' and aggregate 'Sum of Total Amount (USD)' with `Sum`.
- Nomally this will automatically cancel out positive/negative values for the same ID.
After transforming in Power Query, load your data in Power BI for reporting.
Hope it helps:)