Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Not applicable

QlikSense - Update variable from the dashboard

Hi all,

I would like to create gauge with goal to achieve above a defined limit.

gauge.png

The limit (here 80%) is set in a variable in the gauge properties


limit.png


My question is :


Is there a way to change the variable directly in the dashboard (like a cursor, or a field, ...) except by changing the variable directly in the variable editor.


Thank you,

C.

1 Solution

Accepted Solutions
reddys310
Honored Contributor II

Re: QlikSense - Update variable from the dashboard

Hi Cyrille,

I have developed an extension for updating a variable through an input box.

Try it here: Qlik Branch

Thanks and Regards,

Sangram Reddy.

5 Replies
Not applicable

Re: QlikSense - Update variable from the dashboard

There will be several extensions to do this, although i have created an Inline table with some possible values, then set my variable to MAX([Inline Field])

Add a filter for your Inline Field, then when you choose a value from it, the variable is set to it

e.g. Inline table containing 10%,50%,100%

if you select 10% and 50% the variable will be 50%

hope that makes sense

hemhund2016
Contributor

Re: QlikSense - Update variable from the dashboard

Hi,

Variables at this point can't be edited in Qlik sense Dashboard unless using the Extension/API.

Can you try having the field in Dashboard with values 1 to 100 and use the field in the limit instead of variable?

Thanks,

Hemanth.

Not applicable

Re: QlikSense - Update variable from the dashboard

Yes i've try this with an in line table :

[Gauge Variation] :

LOAD * INLINE [

    Shown, Value

    '100%', 1

    '90%', 0.9

    '80%', 0.8

    '70%', 0.7

    '60%', 0.6

    '50%', 0.5

    '40%', 0.4

    '30%', 0.3

    '20%', 0.2

    '10%', 0.1

];

With a filter ... but ... My client doesn't like this user experience ...

ogster1974
Honored Contributor II

Re: QlikSense - Update variable from the dashboard

Use something like qsVariable Extension to allow your user to set your variable value.

Qlik Branch

Regards

Andy

reddys310
Honored Contributor II

Re: QlikSense - Update variable from the dashboard

Hi Cyrille,

I have developed an extension for updating a variable through an input box.

Try it here: Qlik Branch

Thanks and Regards,

Sangram Reddy.

Community Browser