Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

Button for multiple selection

Hello,

i created a button with the functionality to select a specific value within a field.

This works for an absolute value.

In my example if i define the field "lokal" and enter the search term "C18" and then i press on the button, everything works as intended.

Now i would like to select mor than one value with this button command.

I tried out numerous things within the search term:

e.g.

"C18 || C19", "C18 && C19", "C18 AND C19", "C18 OR C19", "if(=(lokal='C18' OR lokal ='C19'))...

Nothing works. In the end i want to press the button and select the field values C18 AND C19. Anyone can help me out with this one?

1 Solution

Accepted Solutions
MVP
MVP

Re: Button for multiple selection

select in field

(C18|C19|C20)

or if you have space

("C 18"|"C 19"|"C 20")

4 Replies
MVP
MVP

Re: Button for multiple selection

select in field

(C18|C19|C20)

or if you have space

("C 18"|"C 19"|"C 20")

hrlinder
Honored Contributor

Re: Button for multiple selection

use (C18|C19) or ('C18'|'C19')

Not applicable

Re: Button for multiple selection

Thanks a lot! Works great!

Re: Button for multiple selection

in Button action, selection select in field action >then chose the field > and in the values , insert the values like this

("C18"| "C19")


Community Browser