Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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:
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
13 |
User | Count |
---|---|
43 | |
39 | |
33 | |
18 | |
17 |