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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Button action

Hello everyone,

I have struggle with assigning action to a button. I have a view button with action: "Set Variables" :=if(vView='0,1,0') and with this action I can switch between date(month and week) but now I want to add days so that I can switch between month, week and days. In "Dimensions" I have assigned value 'vView=1' to month and 'vView=0' to week. How can I fix it?

8 Replies
Anil_Babu_Samineni

Remove Single Colon and then try

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
gerry_hdm
Creator II
Creator II

generate a new Group  and then selectet this in all  tablessnap161.jpg

beck_bakytbek
Master
Master

Hi Damir,

you can use in this case / instead of variable, drill down or group dimension.

beck

beck_bakytbek
Master
Master

Damir

look at this:

1. https://www.youtube.com/watch?v=PSRBtw7SYD8

2. https://www.youtube.com/watch?v=UdPKS8DEPv8

p.s: (eto moshno po drugomu reshit)

i hope that helps

beck

Not applicable
Author

Spasibo, no ja uze reshil problemu

Not applicable
Author

Thanks all, I have solved the issue already

avinashelite

Your syntax is wrong , try like this

=if(vView=0,1,0)




avinashelite

mark the helpful and correct answers and close this thread