Net Promoter Score (NPS): calculation and DAX

How to calculate Net Promoter Score from 0 to 10 survey answers, promoters (9 and 10), passives (7 and 8) and detractors (0 to 6), the score from -100 to +100, a worked example, NPS by segment and over time, sample size and margin of error, and the DAX with a 100% stacked bar.

Short answer: Net Promoter Score (NPS) comes from one question, "How likely are you to recommend us to a friend or colleague?", answered from 0 to 10. Answers of 9 and 10 are promoters, 7 and 8 are passives, 0 to 6 are detractors. NPS = % promoters - % detractors, a number from -100 to +100 (not a percentage). With 50% promoters, 30% passives and 20% detractors, NPS = +30. Passives count in the total but in neither group.

NPS is popular because it is one number that is easy to explain. It is useful when tracked over time and by segment, with the comments that come with the scores, and misleading as a single figure from 40 answers.

How is it calculated?

ScoreAnswersGroup
10120promoter
980promoter
870passive
750passive
630detractor
0 to 550detractor
400 survey answers
  • Promoters = 200 / 400 = 50%
  • Passives = 120 / 400 = 30%
  • Detractors = 80 / 400 = 20%
  • NPS = 50 - 20 = +30
  • Detractors
  • Passives
  • Promoters
0%20%40%60%80%100%Q1Q2Q3
Answers by group per quarter (%)

Show the three groups as a 100% stacked bar next to the score: an NPS of +30 can be 50 - 20 or 35 - 5, which are different businesses.

What is the DAX?

A Survey table with one row per answer: Response ID, Date, Score (0 to 10), Segment, Comment.

Responses = COUNTROWS ( Survey )
Promoters = CALCULATE ( [Responses], Survey[Score] >= 9 )
Detractors = CALCULATE ( [Responses], Survey[Score] <= 6 )
Passives = [Responses] - [Promoters] - [Detractors]

Promoters % = DIVIDE ( [Promoters], [Responses] )
Detractors % = DIVIDE ( [Detractors], [Responses] )

NPS = ( [Promoters %] - [Detractors %] ) * 100

-- a column for the stacked bar and colours
NPS Group (column) =
SWITCH ( TRUE (), Survey[Score] >= 9, "Promoter", Survey[Score] >= 7, "Passive", "Detractor" )

Format NPS as a whole number with a sign (+0;-0;0), not as a percentage.

How many answers do you need?

NPS swings a lot with few answers. A rough 95% margin of error:

NPS Margin of Error =
VAR N = [Responses]
VAR P = [Promoters %]
VAR D = [Detractors %]
VAR V = P + D - POWER ( P - D, 2 )
RETURN 1.96 * SQRT ( DIVIDE ( V, N ) ) * 100

With 400 answers as above, the margin is about ±8 points; with 50 answers, about ±22. A move from +30 to +34 on 400 answers is noise. Show the number of responses on every NPS visual.

How do you make NPS useful?

  • By segment: plan, region, customer age, support contact or not.
  • Over time: by quarter, with the response count.
  • With comments: the text answers say why; read the detractors' first, or group them with key influencers.
  • Close the loop: detractors contacted within days are the most useful action NPS triggers.

What goes wrong?

  • NPS as a percentage. +30 is points, not 30%.
  • Averaging NPS across segments. Recalculate from the answers; segment scores weighted equally mislead.
  • Small samples. Show the margin of error or the count.
  • Survey timing. Asking right after a support ticket gives a different score than a quarterly survey; keep the method fixed.

Where can you check this?

Where do you start?

Load the survey answers with their date and segment, build NPS with the response count, and show the three groups as a stacked bar. CSAT and CES measure single interactions instead of the relationship.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.