Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
vanderson009
Creator III
Creator III

Percentage Calculation

Hello Community,

I have table like this, which is having two columns named as Name and Relationship Nps Score.

I want Percentage Calculation for Promoter and detractor.

Percentage Calculation is only Set Analysis.

Name          , Relationship Nps Score

Promoter     , 2

Detractor     , 3

Promoter     , 4

Promoter     , 6

Detractor     , 7

Promoter     , 1

Detractor     , 9

Detractor     , 10

Could you please help me for the same.

- Thanks and Regards,

Villyee

1 Reply
Not applicable

Expression for Promoter

=sum({<Name={'Promoter'}>}[Relationship Score])

/

sum([Relationship Score])

Expression for Detractor

=sum({<Name={'Detractor'}>}[Relationship Score])

/

sum([Relationship Score])