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: 
Julien_OF
Contributor III
Contributor III

Button Toggle Field Selection not working on multiple values

Hello,

From QlikSense Button documentation, it says :

Toggle field selection

You can set the button to toggle between the current selection, and a selection that adds selections defined by a search string. You can use wild cards in the search string. If you want to define a list of values you need to use the format (A|B), where A and B are values to select.

 

I need a button to toggle 2 values from a field :

Field = Base, Values are AB and JE

If I set my button to toggle on only one value, for exemple AB, it works fine, but whenever I try multiple values like AB|JE, it does absolutely nothing...

I tried AB|JE, JE|AB, 'AB'|'JE', AB | JE etc... nothing is working.

is the toggle function on multiple values bugged or im doing something wrong ? 

tx for your help

Labels (1)
1 Solution

Accepted Solutions
JHuis
Creator III
Creator III

Dear Julien,

 

maybe: ("AB "|"JE")

 

View solution in original post

7 Replies
JHuis
Creator III
Creator III

Dear Julien, 

 

dont you mean the Variable input from the dashboard bundle? 

Julien_OF
Contributor III
Contributor III
Author

Hello,

 

No, the Button functionality in Qlik :

Button ‒ Qlik Sense on Windows

JHuis
Creator III
Creator III

Dear Julien,

 

maybe: ("AB "|"JE")

 

Julien_OF
Contributor III
Contributor III
Author

ahhhhhhhh

Its written, and somehow I didnt read it carefully..

It is indeed (AB|JE), I was forgetting parenthesis **bleep** it ! "" are not needed as I dont have spaces I guess.

Thanks for your help !

JHuis
Creator III
Creator III

yes, your right "" are not needed as I dont have spaces I guess.

But i almost do it everytime just to be sure. Glad I could helped out!

Shrikant
Contributor III
Contributor III

Hello,

I have similar case. But the solution you provided is not working sows error.

Shrikant_1-1658468713975.png

 

I have multiple values in a field AB, CD, EE, TY, YY, FR...

My need is to have a toggle button to work as first click select all values excluding AB and CD and when toggled all value need to be selected including AB and CD

 

Please guide

Thanks

Shrikant

Julien_OF
Contributor III
Contributor III
Author

Hello,

 

try ("AB"|"CD") instead of ('AB'|'CD')