Forum Discussion
Anonymous
7 years agoNot applicable
Calculating NPS
Hi There, I am trying to caculate my NPS score. I have a column called NPS_RANK that has provides a count of I am trying to find a Power BI formula that will do the following math Tota...
- 7 years ago
Hi Anonymous
You may create measures like below:
% Detractors = DIVIDE ( CALCULATE ( COUNT ( Table[NPS_Rank] ), FILTER ( Table, Table[NPS_Rank] = "Detractors" ) ), COUNTROWS ( Table ) )% Promoters = DIVIDE(CALCULATE(COUNT(Table[NPS_Rank]),FILTER(Table,Table[NPS_Rank]="Promoters")),COUNTROWS(Table))
NPS SCORE = ([% Promoters]-[% Detractors])*100
Regards,
v-cherch-msft
7 years agoMicrosoft Employee
Hi Anonymous
You may create measures like below:
% Detractors =
DIVIDE (
CALCULATE (
COUNT ( Table[NPS_Rank] ),
FILTER ( Table, Table[NPS_Rank] = "Detractors" )
),
COUNTROWS ( Table )
)
% Promoters = DIVIDE(CALCULATE(COUNT(Table[NPS_Rank]),FILTER(Table,Table[NPS_Rank]="Promoters")),COUNTROWS(Table))
NPS SCORE = ([% Promoters]-[% Detractors])*100
Regards,