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: 
Not applicable

chr

accountDesc = TA'S AND OTHERS

THIS IS MY SET ANALYSIS

Sum({$<BusinessRegion = {'USA','CANADA','MEXICO','INDIA'},AccountGroup = {'Discounts'},

AccountDesc=  { 'TA'&CHR(39)&'S & OTHER'} >}NetSales)

AND ITS NOT WORKING...

THANKS IN ADVANCE

Labels (1)
1 Solution

Accepted Solutions
Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

Try :

Sum({$<BusinessRegion = {'USA','CANADA','MEXICO','INDIA'},AccountGroup = {'Discounts'},

AccountDesc=  {"TA'S & OTHER"} >}NetSales)

Aurélien

Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

5 Replies
MK_QSL
MVP
MVP

Sum({$<BusinessRegion = {'USA','CANADA','MEXICO','INDIA'},AccountGroup = {'Discounts'},

AccountDesc=  { "TA'S & OTHER"} >}NetSales)

Alternately, if you have

AccountDesc = Other's

You can write as

AccountDesc = {"Other's"}

Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

Hi,

Try :

Sum({$<BusinessRegion = {'USA','CANADA','MEXICO','INDIA'},AccountGroup = {'Discounts'},

AccountDesc=  {"TA'S & OTHER"} >}NetSales)

Aurélien

Help users find answers! Don't forget to mark a solution that worked for you!
Not applicable
Author

what if i want to use this in script .. do i have to use chr?

Aurelien_Martinez
Partner - Specialist II
Partner - Specialist II

You can not use Set Analyses in the script, but yes you have to use chr

Something like :

LOAD

Field,

Sum(NetSales)

Where AccountDesc='TA'&CHR(39)&'S & OTHER'

;

Help users find answers! Don't forget to mark a solution that worked for you!
Not applicable
Author

thanks