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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Expression for excluded value of Field

Hi,

  i want to find  expression for excluded value of field as -

Canada

Europe

India

Mexico

North America

Singapore

Thailand

if i selected 'Europe' , 'Mexico' and 'Singapore'

i want excluded fields as -

(Canada*|*India*|*NorthAmerica*|*Thailand)

qvw is attach for reference

Thanks in advance

1 Solution

Accepted Solutions
Not applicable
Author

Hi Ankit,

maybe use exclude in your concat set analysis

Concat(distinct {<Country=e(Country)>} Country , '|')

hope that helps

Joe

View solution in original post

6 Replies
Not applicable
Author

Hi Ankit,

maybe use exclude in your concat set analysis

Concat(distinct {<Country=e(Country)>} Country , '|')

hope that helps

Joe

maxgro
MVP
MVP

vList:

'("' & Concat(distinct {<Country=e(Country)>} Country , '"' & '|' & '"' ) & '")'

double quotes are for values with spaces, like "North America"

sunny_talwar

Not sure if you need those asteris symbol or not, but if you do you can modify Joe's expression as follows:

='(' & Concat(distinct {<Country=e(Country)>} Country , '*|*') & ')'

Anonymous
Not applicable
Author

hi i have only one issue that if i select any other field its impact is not visible as -

if i select any other field and by which Country have only now excluded 'Europe' , 'Mexico' and 'Singapore'

than i am not getting same results..

thanks

Anonymous
Not applicable
Author

hi i have only one issue that if i select any other field its impact is not visible as -

if i select any other field and by which Country have only now excluded 'Europe' , 'Mexico' and 'Singapore'

than i am not getting same results..

thanks

Anonymous
Not applicable
Author

hi i have only one issue that if i select any other field its impact is not visible as -

if i select any other field and by which Country have only now excluded 'Europe' , 'Mexico' and 'Singapore'

than i am not getting same results..

thanks