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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
anothergreg
Contributor III
Contributor III

Select in Field multiple selections with parentheses

I need a button to select multiple values, which I understand the syntax is (value1|value2).  However, my values have parentheses in them.  For example:

OPTION

a) $1 - $2

b) $2 - $5

c) $5 - $10

d) $10+

If I try to place it in the syntax to select multiple values, the parenthesis in each value closes the syntax that accepts multiple values.  I can't use single quotes or double quotes to contain the string.  I've tried setting variables to the strings I want to use and placing the variable name into the syntax like ($(vOptionA)|$(vOptionB)) but this does not work either.  I cannot modify the data.

Can anyone help me how to select in field for multiple selections if those selections have a closed parenthesis in each of them?

1 Solution

Accepted Solutions
marcus_sommer

Did you try: ("value1"|"value2") ?

- Marcus

View solution in original post

2 Replies
marcus_sommer

Did you try: ("value1"|"value2") ?

- Marcus

anothergreg
Contributor III
Contributor III
Author

I had tried that but only with an = sign in front.  When I pulled it out it worked fine.  Thank you!