Showing results for 
Search instead for 
Did you mean: 
SaganBigRedDog Regular Visitor
Regular Visitor

Calculate NPS (Net Promoter Score)


I used the solution in this post to try to calculate NPS from a column ("Respondants") containing "passive" "promoter" and "Detractor" values.  However, each time I try, it comes up blank.  The current formula in the measure is:


var NumOfRespon = CALCULATE(COUNTROWS('Table1'), ALL('Table1'))
(CALCULATE(COUNTA(Table1[Respondents]), FILTER('Table1', 'Table1'[Respondents]="Promoters")) / NumOfRespon
 - CALCULATE(COUNTA(Table1[Respondents]), FILTER('Table1', 'Table1'[Respondents]="Detractors")) / NumOfRespon)
 * 100


But I continue to receive:


What am I doing wrong?

v-huizhn-msft Super Contributor
Super Contributor

Re: Calculate NPS (Net Promoter Score)

Hi @SaganBigRedDog,

It's really hard to troubleshooting your issue without sample table, could you please share your sample table or .pbix file for further analysis? In addition, do mask sensitive data before uploading sample table or create dummy table.  Thanks for understanding.

Best Regards,

Helpful resources

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 258 members 2,810 guests
Please welcome our newest community members: