Schema Theory

← Back to KPIs & Dashboards

Net Promoter Score (NPS)

Description

Net Promoter Score (NPS) measures customer loyalty by asking, “How likely are you to recommend our company/product/service to a friend or colleague?” Respondents answer on a scale from 0 to 10. Based on their responses, customers are grouped into:

NPS is calculated by subtracting the percentage of Detractors from the percentage of Promoters.

Visual Example

Net Promoter Score (NPS) Visual

DAX Formula

Net Promoter Score = 
VAR Promoters =
    CALCULATE(COUNTROWS(SurveyResponses), SurveyResponses[NPS_Score] >= 9)

VAR Detractors =
    CALCULATE(COUNTROWS(SurveyResponses), SurveyResponses[NPS_Score] <= 6)

VAR TotalResponses =
    CALCULATE(COUNTROWS(SurveyResponses), NOT ISBLANK(SurveyResponses[NPS_Score]))

RETURN
DIVIDE((Promoters - Detractors), TotalResponses, 0) * 100

SQL Statement

SELECT
  ROUND(
    100.0 * (
      COUNT(CASE WHEN NPS_Score >= 9 THEN 1 END) -
      COUNT(CASE WHEN NPS_Score <= 6 THEN 1 END)
    ) / NULLIF(COUNT(NPS_Score), 0),
    2
  ) AS NetPromoterScore
FROM SurveyResponses;

Usage Notes

Downloads