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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Actions on Sheet activationh with Variables

Hello,

when activating a sheet I want to set some filters with variables. One variable works fine with =$(myVar), but for setting the filter with more variables I didn't get it working:

($(my1stVar)|$(my2ndVar)|...) or ("=$(my1stVar)"|"=$(my2ndVar)"|...) or = ($(my1stVar)|$(my2ndVar)|...) or =("$(my1stVar)"|"$(my2ndVar)"|...)

didn't work.

Anyone got a solution for this?

Thanks

Peter

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Assuming your variables are having search string, try like:

='(' & $(var1)&'|'&$(var2)&'|'&$(var3)&'|'&......&')'

if your search strings have spaces in between, you have to take care of that by including double quotes.

View solution in original post

2 Replies
tresB
Champion III
Champion III

Assuming your variables are having search string, try like:

='(' & $(var1)&'|'&$(var2)&'|'&$(var3)&'|'&......&')'

if your search strings have spaces in between, you have to take care of that by including double quotes.

Not applicable
Author

Joop,

thanks, that works!