Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
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])