Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

qlikviewajeet
New 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
Esteemed Contributor II

Re: Fast change Dimension or measure on button selection

have you tried $ expansion with vTabview?

$(vTabview)

paulyeo11
Valued Contributor II

Re: Fast change Dimension or measure on button selection

Hi Ajeet

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

qlikviewajeet
New Contributor III

Re: Fast change Dimension or measure on button selection

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
New Contributor III

Re: Fast change Dimension or measure on button selection

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

Regards

Ajeet