Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Input Field Question

I know how to declare an input field in the script and how to use it within a pivot chart. What I can't seem to figure out is how set up a calculated expression as an input field that, by default, contains the results of the expression but also lets the user input a value in order to do What-If (other columns use the value in this column/cell). Can this be done?

1 Solution

Accepted Solutions
biester
Specialist
Specialist

Hi Brian,

perhaps enclosed demo file helps. The inputfield EndWeight is initialized with IdealWeight but can be altered in the TableBox. In the pivot chart (AFAIK you can't alter the value of an inputfield directly in a (pivot) chart) the expression WeightDifference is calculated as differenc of StartWeight and the inputfield EndWeight. Perhaps that helps a little.

Rgds,
Joachim

View solution in original post

4 Replies
biester
Specialist
Specialist

Hi Brian,

perhaps enclosed demo file helps. The inputfield EndWeight is initialized with IdealWeight but can be altered in the TableBox. In the pivot chart (AFAIK you can't alter the value of an inputfield directly in a (pivot) chart) the expression WeightDifference is calculated as differenc of StartWeight and the inputfield EndWeight. Perhaps that helps a little.

Rgds,
Joachim

Anonymous
Not applicable
Author

Thanks, that helps.

Not applicable
Author

The inputfielddemo.qvw was helpful. Thanks!

Not applicable
Author

Demo is very helpful - Thank you.