Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not 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 

2019-03-21_14-46-09.jpg2019-03-21_14-58-28.jpg

I am trying to find a Power BI formula that will do the following math 

Total responces (572)

% of responces that are Promoters (412/572= .72)

% of Responces that are Detractors (104/572 = .18)

 

Promoters - Detractors (.72-.18 = .54) x 100 = NPS SCORE (54)

 

Any help would be so appreciated

Marc

 

 

 

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft 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,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-cherch-msft
Microsoft Employee
Microsoft 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,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors