Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I need to enter a parameter in order to calculate a field, is there a way in QlikSense? Thanks!
Jose,
There is not. In case people asks for it, it could be added.
Miguel
People do ask for it
Sorry, I'm afraid I was messing up with inputfields!
Variables can be handled right now via API. Actually, they will work in the load script or expressions, for example. What has not yet been added is the way to manage them in the UI. It's in the works.
Miguel
How can we change a variable value through the UI?
What I did, and maybe works for you:
I added this code and then added a filter pane with Valor as a dimension.
Load * Inline
[
Valor
10
20
30
40
50
];
This is not an input but it helps if your list is small.
I thought maybe it is possible to add an input component in the UI through a javascript code, but then the question is how to integrate the js code into the Qlik Sense script to let the variable take the input on load.
Yes people ask for it !
Hi
If the calculation only needs to be done on the front end then there is a nice extension object available on qlik branch that includes an input field.
It's called qsvariable and also includes buttons, drop down lists and sliders where variable's can be dynamically set.
Link:
Thanks
Dan