Forum Discussion
NPS last score per period
- 6 years ago
I am also getting same result with a bit different formula.
Is there anything wrong, your looking to fixed.
https://www.dropbox.com/s/9246ahe8ge1p3lo/NPS%20last%20score%281%29.pbix?dl=0
Try Tried, but not able to match logic. Please see this screen shot. Can you explain by checking lines, maybe in excel,
What is considered as the promoter for Aug, Sep, and Q3. And final calculation
Hi amitchandak
I have simplified the example
Let's say in October we have this:
The condition is to only consider the last score per ID , so in this case it will 3 promoters.
Now both my mine and v-juanli-msft solutions are counting last Promoter,Detractor or Passive depending on a label,
which in the October example gives the total of 7 ( 3 Promoters ,2 passive , 2 Detractors) which is wrong
what I am trying to achieve is count of labels which where last scores.
In terms of the Quarter the result should be, 3 Detractors, 2 Passive, 3 Promoters.
Now in both examples ( mine and v-juanli-msft ) the distinct count of id with any label filters works well
NumOfRespon =
SUMX(LASTDATE(VALUES('Calendar'[Date])),
CALCULATE (DISTINCTCOUNT( 'NPS'[ID] ),
FILTER ( 'NPS', 'NPS'[Score] <> BLANK () || 'NPS'[Score] = 0 )
))
and return the desired value but when we try to count the labels we have problems.
Here is the link another version of PBIX
https://www.dropbox.com/s/vbm6pndnengdgox/NPS%20last%20score.pbix?dl=0
- amitchandak6 years ago
Super User
Please share expected values for the count of labels, response for Month and QTR
- Tazmastablasta6 years ago
Helper I
Hi amitchandak
Not a problem.
Here you go.
October Total of 3 (3 Promoters)
November Total 5 (3 Detractors , 1 Passive 1 Promoter)
December Total 2 ( 1 Passive 1 Detractor)
Q4 Total 8 ( Detractor 3 , Passive 2 , Promoter 3)
They are also inside the simplified pbix from previous post linked here
https://www.dropbox.com/s/vbm6pndnengdgox/NPS%20last%20score.pbix?dl=0
They are in the PBIX file .
- amitchandak6 years ago
Super User
I am also getting same result with a bit different formula.
Is there anything wrong, your looking to fixed.
https://www.dropbox.com/s/9246ahe8ge1p3lo/NPS%20last%20score%281%29.pbix?dl=0