Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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!!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
124 | |
79 | |
49 | |
38 | |
37 |
User | Count |
---|---|
196 | |
80 | |
70 | |
51 | |
42 |