Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Re: Creating dynamic measure selection in Qliksense

Thanks!

Highlighted
Not applicable

Re: Creating dynamic measure selection in Qliksense

Hi Uday,

This qvf was very helpful. Unfortunately, when i am replicating it for my data, I am unable to get it to work. The metric selection is working properly but the distribution isn't. Please see the qvf attached.

Can you please help me out?

Thanks

Malvika

Highlighted
Not applicable

Re: Creating dynamic measure selection in Qliksense

Hi Malvika,

Please find attached the solution qvf.

Highlighted
Partner
Partner

Re: Creating dynamic measure selection in Qliksense

HI Malvika,

Make sure to take out '=' sign in the variable measure.

Don't know why when you give a expression in the fx editor by default it puts = sign on to the measure.

So once you finished writing the expression take out the = sign.It will work.

Thanks,

Highlighted
Not applicable

Re: Creating dynamic measure selection in Qliksense

Hi Uday,

I had removed that. In fact, the qvf i have shared with you doesn't have an "=". It still doesn't work

Thanks

Highlighted
Not applicable

Re: Creating dynamic measure selection in Qliksense

Please ignore the other comment.  It worked. Thanks for the tip !

Highlighted
Partner
Partner

Re: Creating dynamic measure selection in Qliksense

HI Malvika,

You app is working on my desktop.

Could you please share what exactly is the issue?

But follow these steps

-Got to Edit

-click on the variable object

-In the select Metri pane

-click on the variable

-click on Pop

(am sure you will see =Sum(Populaiton) and same with Sales =Sum(Sales))

-without going to expression editor just take out the =sign and press enter.

-now press done

-you can check the buttons now.

Coz I can see your data is responding to the buttons.

Thanks,

Highlighted
Not applicable

Re: Creating dynamic measure selection in Qliksense

H Uday,

yes, this worked. I was looking under the chart measures instead of going for the variable extension.

However, i have one more question - did you face any issue with the visualization while opening the app? When i open the app and there is no selection, i get an error 'Visualization failed to render'. Only when i make the selection does the chart appear. Do you know of any workaround to avoid this?

Thanks !

Highlighted
Partner
Partner

Re: Creating dynamic measure selection in Qliksense

HI Malvika,

What's the Sense version you are using?

Am on 2.2 and works fine with this.

Or Try to download and install the latest version of the extension. It might solve the issue.

Thanks,

Highlighted
Creator
Creator

Re: Creating dynamic measure selection in Qliksense

Hi sowmya- Iam using a line chart- is there a way i can select 2 measures at a time

measure 1 and measure 2

or

measure 1 and measure 3

or measure 3 and measure 4

and so on-----any combination .I have  7 measures.

thanks