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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I have a column in my data which is called "NPS Category", which classifies each Case Number listed. Each row in the data either have the values of "Promoter", "Detractor", or "Neutral" within this NPS Category column.
I'm trying to create a measure similar to the below for each of the possible Category values (Promoter, Detractor, or Neutral):
NPS Neutral Count =(Count([Case Number]Where([NPS Categories]="Neutral")))
This would give me a final count of the number of rows that have the value of "Neutral". The "Case Number" would be a unique value for each row.
I'm having trouble figuring how to do this with DAX, and was hoping someone could help?
Thanks!
Solved! Go to Solution.
Measure =
CALCULATE (
DISTINCTCOUNT ( Table[CaseNumber] ),
Table[NPS Category] = "Neutral"
)
Measure =
CALCULATE (
DISTINCTCOUNT ( Table[CaseNumber] ),
Table[NPS Category] = "Neutral"
)
Not sure what I was doing wrong before - but that worked perfect, thanks!!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 80 | |
| 62 | |
| 50 | |
| 45 |