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, Im new in Power BI, so I hope someone will help,I need measure that count only values of dublicates without counting of other data in one Column that counts more than once
a |
a |
a |
b |
c |
d |
f |
g |
h |
b |
I need count 2 (only aaa and bb) how is it possible?
Solved! Go to Solution.
First, you need to add an index column in your table.
Then you can create a measure like below;
Duplicates = CALCULATE ( DISTINCTCOUNT ( Table1[Value] ), FILTER ( ALL ( Table1[Value] ), CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Value] ) ) > 1 ) )
Regards,
First, you need to add an index column in your table.
Then you can create a measure like below;
Duplicates = CALCULATE ( DISTINCTCOUNT ( Table1[Value] ), FILTER ( ALL ( Table1[Value] ), CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Value] ) ) > 1 ) )
Regards,
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 |
---|---|
114 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |