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: 
guster999
Creator
Creator

Qlik Sense action button for selecting multiple values in a field

Hi,

I have found multiple posts for this but none have worked.

I'm trying to create an action button for multiple values of a field.  It works fine for 1 value from the list below, but I cannot seem to get the syntax right for all 3 field values below.

 Action=set values in a field

field = Problem

value = '35A01 EAS REFERRAL FOR UCC'   (this works okay - for any single value from below)

bit I need all 3 below included??

(I have tried with quotes and without, pipe separators...etc...)

35A01 EAS REFERRAL FOR UCC
35A02 GP REFERRAL FOR UCC
35A03 NURSE REFERRAL FOR UCC
2 Solutions

Accepted Solutions
_ylc
Partner - Creator
Partner - Creator

use this:

35A01 EAS REFERRAL FOR UCC;35A02 GP REFERRAL FOR UCC;35A03 NURSE REFERRAL FOR UCC

View solution in original post

_ylc
Partner - Creator
Partner - Creator

Ok, so I tried to upgrade to April 2020 and for some reasons, it's not working.

Anyway, here's what's working:

_ylc_0-1591845267838.png

=Concat(distinct {<ID={"35*"}>} ID, ';')

Give it a try and it worked for me 🙂

View solution in original post

15 Replies
_ylc
Partner - Creator
Partner - Creator

use this:

35A01 EAS REFERRAL FOR UCC;35A02 GP REFERRAL FOR UCC;35A03 NURSE REFERRAL FOR UCC

guster999
Creator
Creator
Author

many thanks, that worked a treat!  I hope that also clarifies it for others who had been querying the issue.

To enhance the action button further, is there an equivalent for '35*' or using the wildcard ? other values will be added over time but will always start with 35.    

thanks

 

_ylc
Partner - Creator
Partner - Creator

That is possible. You select the 'Select value in a field' and the value is ='35*'

guster999
Creator
Creator
Author

I had done that, but nothing is selected when the button is used.

But the previous method will work , so many thanks.


_ylc
Partner - Creator
Partner - Creator

May I know your qlik sense version?

guster999
Creator
Creator
Author

[cid:image001.png@01D63F40.7021ABC0]


_ylc
Partner - Creator
Partner - Creator

Apologies but I cannot see the image.

I'm using November 2019 and it's working properly.

Here's what my button action looks like:

_ylc_0-1591762866486.png

How it filtered:

_ylc_1-1591762896342.png

_ylc_2-1591762905990.png

 

guster999
Creator
Creator
Author

I am using April 2020 version.

note that the options appear slightly different to yours  i.e. 'select values in a field'

Thanks for your images. I tried below settings but no response when I click the button.

guster999_0-1591822317692.png

 

_ylc
Partner - Creator
Partner - Creator

Can you try with the equal sign? ='35*'