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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How To enable multiple buttons in Qlikview document

Hi I have some buttons in my qvw.

Ex: I have a month having 12 buttons, each per one month.When i select Jan button, it  is filtering  Jan month data.

I want to filter 3 months of data at a time.If i select Jan, Feb,March,Dec at a time ,my chart should filter with selected months and am able to see all these selections in Current selection box.

Thanks.

1 Solution

Accepted Solutions
krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi Ravi,

Please find the steps below. Hope this helps

1. Go to Button Properties.

2. Action Tab -> Add -> External -> Set Variable. if(vJan =1,0,1) this expression will on/off the value

3. Based on 12 variables you need to set the Trigger to Select in Field

4. Action Tab -> Add -> Selection -> Select in Field -> Month -> if(vJan=1,"Jan")..

View solution in original post

8 Replies
vishsaggi
Champion III
Champion III

Any specific reason you are using buttons here, why cant you use Month Listbox and select accordingly?

krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi Ravi,

Is there any specific reason to display the Months in Button. If you provide the Month in a List box you can achieve directly.

Still if you need in button, yes you can enable triggers to set value for selection in the Month field.

ex: Button 1 (Jan)  Trigger -> Select in Field -> Month = "Jan"

Anonymous
Not applicable
Author

I am developing an app for Mobile version,there buttons only preferable.

Can you let me know how to trigger the buttons.

Anonymous
Not applicable
Author

Developing an qvw for mobile version, there i have to select multiple buttons and has to filter data accordingly.

krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

PFB the steps.

1. Go to Button Properties.

2. Action Tab -> Add -> External -> Set Variable. if(vJan =1,0,1) this expression will on/off the value

3. Based on 12 variables you need to set the Trigger to Select in Field

4. Action Tab -> Add -> Selection -> Select in Field -> Month -> if(vJan=1,"Jan")..

krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

This is solution has more manual effort and Static values.

Try to use the List box with other Styles like Check box/LED.

Anonymous
Not applicable
Author

Hi Armugam,

I was tried with the Checkboxes, but the problem is i am not able to increase the size of Checkboxes in Mobile version.

Can you let me know how it works with Buttons and please send the code for one button.

krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi Ravi,

Please find the steps below. Hope this helps

1. Go to Button Properties.

2. Action Tab -> Add -> External -> Set Variable. if(vJan =1,0,1) this expression will on/off the value

3. Based on 12 variables you need to set the Trigger to Select in Field

4. Action Tab -> Add -> Selection -> Select in Field -> Month -> if(vJan=1,"Jan")..