Forum Discussion
PaulCo
8 years agoHelper II
Calculating NPS Score based on Average
I have a list of surveys which I am using to Calculate the NPS score of a product. Multiple surveys have been sent to the same customer and I want to use the average score that a customer has to dete...
- 8 years ago
Hi Paul,
Try these measures please. You can check them in this file: https://1drv.ms/u/s!ArTqPk2pu-BkgUSBzooh-b-DlL1S.
Measure 1 = CALCULATE ( DISTINCTCOUNT ( Table1[Customer] ), 'Table1'[Average Score] >= 9 )
Measure 2 = CALCULATE ( DISTINCTCOUNT ( Table1[Customer] ), 'Table1'[Average Score] >= 8 && 'Table1'[Average Score] < 9 )Measure 3 = CALCULATE ( DISTINCTCOUNT ( Table1[Customer] ), 'Table1'[Average Score] < 8 )
Measure 4 = ( [Measure 1] - [Measure 3] ) / DISTINCTCOUNT ( Table1[Customer] ) * 100Best Regards!
Dale
v-jiascu-msft
8 years agoMicrosoft Employee
Hi Paul,
Try these measures please. You can check them in this file: https://1drv.ms/u/s!ArTqPk2pu-BkgUSBzooh-b-DlL1S.
Measure 1 = CALCULATE ( DISTINCTCOUNT ( Table1[Customer] ), 'Table1'[Average Score] >= 9 )
Measure 2 =
CALCULATE (
DISTINCTCOUNT ( Table1[Customer] ),
'Table1'[Average Score] >= 8
&& 'Table1'[Average Score] < 9
)Measure 3 = CALCULATE ( DISTINCTCOUNT ( Table1[Customer] ), 'Table1'[Average Score] < 8 )
Measure 4 =
( [Measure 1] - [Measure 3] )
/ DISTINCTCOUNT ( Table1[Customer] )
* 100
Best Regards!
Dale
PaulCo
8 years agoHelper II
Worked perfectly, thanks!