Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Emerald
Contributor III
Contributor III

Default multi selection on qliksense sheet

TableA: 

Country States
Canada Ontario
Australia Brisbane
UK London
UK Scotland
USA California
USA Texas

when opens the sheet 
the default selections would be filtered on the States for the Countries  'USA',  'UK'
writtend the following:
=concat({1<Country={'UK','USA'}>}distinct [States],'|')
but is still not working as expected, the default selection is not showing when open the app.
Please help?


 

 

 

 

6 Replies
jochem_zw
Partner Ambassador
Partner Ambassador

How do you apply the default selection, by a bookmark, or by sheet action?

if done by action than the action need to be 'Select Values matching search criteria'  and the expression is:

='('&concat({1<Country={'UK','USA'}>}distinct [States],'|')&')'

Anil_Babu_Samineni

I will recommend to create bookmark and use that as default bookmark to the sheet that you want to select.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
sidhiq91
Specialist II
Specialist II

@Emerald  Creating bookmark and add them under sheet action would be a better option.

Emerald
Contributor III
Contributor III
Author

Load * Inline [
Country, States
Canada, Ontario
Australia, Brisbane
UK, London -123&
UK, Scotland_
UK, Ireland
USA, California
USA, Texas];

but when have the special characters on the states then it is not working as expected

jochem_zw
Partner Ambassador
Partner Ambassador

This should work, also with the special characters:

 

='("'&concat({1<Country={'UK','USA'}>}distinct [States],'"|"')&'")'

anat
Master
Master

in sheet actions select "Select values matching search criteria" option

field as "Country"

values: US;UK