Forum Discussion
Duplicate Values Making Sub and Grand Totals Incorrect
Hi All
I need to calculate a sales value based upon id and stage being closed won.
In my data the "ID" has duplicates, so what i want to do is get the total value of sales without it duplicating. I need to use a dax measure to achieve this. For example an ID appears twice and it is doubling the sales value. So with example below in my matrix it showing ID as 200 for the sales value, it should be 100 as this id has been duplicated.
ID Sales Value
1 100
1 100
2 50
3 50
i have used the below to get the show what IDs have been duplicated:
1 Reply
- Greg_Deckler
Community Champion
This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907