Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
danielact
Partner - Creator III
Partner - Creator III

Input Field and Alternate States

I have 2 alternate states that I'm using - call them State1 and State2. On one chart, I combine the selections from both. My calculation looks something like this:

sum({State1 + State2} Price * Quantity)

I created an Input Field called WhatIfQuantity so someone can see a potential change in the total by changing a particular quantity. I have a chart which has this formula:

sum({State1 + State2} Price * WhatIfQuantity)

I'm getting a weird result. The values don't update immediately when I change a quantity number. It only updates when I make a change to the chart (making it recalculate) or reload the script.

If I change it to only use State1 or State2, it calculates immediately after I input the change.

Any idea why this is happening, and what I can do to fix it?

1 Reply
msteedle
Partner - Creator
Partner - Creator

My slightly different experience was that objects containing input fields will not work in anything other than the default state (11.2 SR2). Specifically, charts will never finish calculating and table boxes appear with an "X" through them. I believe it's either a bug or an undocumented limitation of using input fields with alternate states.