Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Support Cases coming to Qlik Community Oct. 4! Start chats, open cases, explore resources: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
YG
Contributor III
Contributor III

Qlik Sense - Using Button how to select Multiple values in a Field

Hi All,

I am pretty new to this and I have found multiple answers to this question but non of it seems to work on Qlik Sense Enterprise version for me.

I have "Button" and I want multiple rows (characters)  selected when pressed. 

YG_0-1599539045971.png

 

Simply I want to select =  "1 - Critical"|"2 - High" when pressed.

So far I tried, 

1. ='("1 - Critical"|"2 - High")' - Did not work

2. ='(1 - Critical|2 - High)' - Did not work

3. =(1 - Critical|2 - High) - Did not even validate

However, If i try just 1 selection it works fine, That is  ='1 - Critical' 

YG_1-1599539124070.png

 

To explain more I have 5 selection so Alternative selects are not an option for me too

Labels (4)
1 Solution

Accepted Solutions
YG
Contributor III
Contributor III
Author

I think I found the Answer,

='("1 - Critical"|"2 - High"|"3 - Moderate")'

Issue was with below

YG_0-1599542564768.png

 

View solution in original post

3 Replies
YG
Contributor III
Contributor III
Author

I think I found the Answer,

='("1 - Critical"|"2 - High"|"3 - Moderate")'

Issue was with below

YG_0-1599542564768.png

 

View solution in original post

stevedark
MVP
MVP

Thanks @YG  for sharing this, allowed me to create a YTD button:

='(' & concat(distinct {<Month={"<=$(=date(monthstart(today()), 'MMM-YY'))"},Year={"$(=Year(today()))"}>}Month, '|') & ')'

Cheers,

Steve

ZebLearney
Contributor
Contributor

Hi, I am trying to do something similar to this with Action whereby I want to select all dates from a date field for the last 7 days, does anyone know how to achieve this. I can get it to work for one date, but I need it to select multiple. Thanks