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.
I am calculating distinct id for each category and get this table which is correct and how I would like it. But when Power BI is calculating the total it seems like it is calculating the distinct id over all, without taking into account that some IDs are within multiple categories. I would like the total to be 5+6+2=13 but instead the total is 8 since a lot of IDs are in multiple categories.
Category | distinct count |
cat 1 | 5 |
cat 2 | 6 |
cat 3 | 2 |
total | 8 |
Solved! Go to Solution.
@Anonymous , Try like
sumx(values(Table[Category]),[distinct count])
@Anonymous , Try like
sumx(values(Table[Category]),[distinct count])
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 |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |