Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello All!
I think this question is *relatively* easy but none the less I have been unable to figure out the answer!
I have an unpivoted table that looks like a much larger version of the following screenshot:
I am looking to create two measures from this table:
The first measure is a count of the number of mcs_client Ids for which two or more *distinct* Score values occur. (This count would include mcs_client ids liek the one circled in blue).
The second measure is a count of the number of mcs_client ids for which only one *distinct* Score value occurs. (This count would include mcs_client ids like the one circled in red).
I've fidged with a few different measurement designs and none seem to have produced the right count. Any insight would be greatly appreciated - and I'm happy to provide more information if needed.
Thanks Again
-Flawn
Solved! Go to Solution.
Hi @Flawn
use these measures:
Measure_1 Score =
COUNTROWS(FILTER(
SUMMARIZE(
'Table',
'Table'[msc_client],
"C", DISTINCTCOUNT('Table'[Score])
),
[C] = 1
))
and for more than 1 score:
Measure>1 Score =
COUNTROWS(FILTER(
SUMMARIZE(
'Table',
'Table'[msc_client],
"C", DISTINCTCOUNT('Table'[Score])
),
[C] > 1
))
result:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hah well that seems to have done it - turns out I was close but not quite there.
Thanks Vahid
You are welcome 🙂
Hi @Flawn
use these measures:
Measure_1 Score =
COUNTROWS(FILTER(
SUMMARIZE(
'Table',
'Table'[msc_client],
"C", DISTINCTCOUNT('Table'[Score])
),
[C] = 1
))
and for more than 1 score:
Measure>1 Score =
COUNTROWS(FILTER(
SUMMARIZE(
'Table',
'Table'[msc_client],
"C", DISTINCTCOUNT('Table'[Score])
),
[C] > 1
))
result:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |