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.
Hello there! Here are the details about the problem I have:
I want to count the number of values in one column, without another column's duplicates affecting it.
Example: I have a table with multiple columns. The columns that matter most are "No." (detail number) and "Family". I want to count the number of values in the "Family" column without "No. Values" affecting them. Whenever the "No." column has a value count of more than 1 (in this example - 1282370) - it should count as 1.
The result would be: the SDB count for 1282370 - 1. Duplicates don't count.
there are other "detail numbers" that can have the same family. Hence, if the count of one detail for the same family is >1 - it should count as 1.
what would be the DAX expression to get these values?
Hi @Anonymous
How about DISTINCTCOUNT ( 'Table'[Family] )?
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 |
---|---|
49 | |
26 | |
21 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |