Skip to main content
Announcements
The way to achieve your own success is the willingness to help somebody else. Go for it!
cancel
Showing results for 
Search instead for 
Did you mean: 
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
reddy-s
Master II
Master II

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.

View solution in original post

5 Replies
Not applicable
Author

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
Creator
Creator

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
Author

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
Partner - Master II
Partner - Master II

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

Qlik Branch

Regards

Andy

reddy-s
Master II
Master II

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.