Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Silambarasan1306
Creator III
Creator III

how can i use 2 variables in a single button in qlik sense ??

I want to show top 5 value defalut. when i'm pressing the button it has to show the next top 6-15 values. for that i have two variables. how can i use that in qliksense.

8 Replies
Vegar
MVP
MVP

There are no buttons with actions available straight out of the box in Qlik Sense. To solve your problem you'll probably need to find (or create your own) an extension.

I believe that swr open source project could fit your needs.

GitHub - stefanwalther/sense-navigation: Sheet Navigation + Actions for Qlik Sense.

Scroll down to the the part about Actions you'll see it supports two action for each button.

reddy-s
Master II
Master II

Hi Silanbarasan,

You will have to go with an extension to achieve this. I have built an extension : GitHub - reddys10/Input-box-which-updates-a-variable-in-QlikSense

You can use this extension or replicate this functionality in a different one.

Thanks,

Sangram Reddy

brunobertels
Master
Master

Hi

download qsvariable from Qlikbranch Site

using qsvariable create a variable

named it vChoice

Add Button 1

label = Top 5

value = 1

Add Button 2

label 'Top 6-15'

value = 2

I understand you have already 2 variables for mesure Top 5 and Mesure Top 6-15, called it for example vTop5 and vTopOther

then in your Bar chart or table add this mesure

if(vChoice=1,$(vTop5), if(vChoice=2,$(vTopOther)))

hope it helps

Bruno

Silambarasan1306
Creator III
Creator III
Author

This i can do Mr bruno bertels. I'm asking is that any possible to use both in a single button.

Thanks.

brunobertels
Master
Master

Hi

not possible with qsvariable extension.

But try this one , witch is a switch button allowing True/False Statement

http://branch.qlik.com/#/project/56728f52d1e497241ae69860

bruno

reddy-s
Master II
Master II

HI,

Building an extension is the best way to go with this requirement.

Thanks,

Sangram,

Silambarasan1306
Creator III
Creator III
Author

Yaa that's better way. Thank you..

reddy-s
Master II
Master II

Always Welcome!