Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewajeet
Contributor III
Contributor III

Fast change Dimension or measure on button selection

Hi ,

I want to change graph on button selection in Qlik Sense. Graph or chart expression will change, user click on Button Sales or Quantity . for this I have used extension.

it shows last measure (qty) by default. not changing on button click. Helpful solution was shared by Andy. click on this thread >Makes Sense to go round in circles

if I pass 1 inside variable, this shows sales and neither button click work nor show quantity

Regards

Ajeet

4 Replies
vinieme12
Champion III
Champion III

have you tried $ expansion with vTabview?

$(vTabview)

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
paulyeo11
Master
Master

Hi Ajeet

How about convert the table to bar chart. see the attachment,

qlikviewajeet
Contributor III
Contributor III
Author

yes, I am using below expression in Measure.

=if($(vTabView)=1,Sum(Sales), Sum(Quantity))

//=$(=Pick(Match($(vTabView),1,2),Sum(Sales),Sum(Quantity)))

//$(vSales),$(vQuantity)

and below is screenshot of setting up variable button..

Regards

Ajeet

qlikviewajeet
Contributor III
Contributor III
Author

no sir, this is not relevant to my discussion. Let me hear suggestion like Vineeth.

Regards

Ajeet