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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Input Problem

Hi,

I have a question,

I have two input box and a data like this:

Anyone has any idea to make the input box not calculate the data automatically when changed and provide a button to calculate the data after user input both input box.

I also provide my sample qvw file.

Thanks

1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

OK, then you can use another trick...

Define 2 sets of variables - one set to be used for User Input and the other set to be used in your calculations.

The button "Calculate" should transfer the values from the input variables into the calculation variables. This way, the chart will remain static, using the "old" variables until the button Calculate is pressed.

cheers,

Oleg Troyansky

View solution in original post

5 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Add a Calculation Condition to your chart, using a new variable vCalculate:

- every time the user is changing one of the two variables, use triggers and actions to set vCalculate to 0

- Add a button "Calculate" that would set the variable to 1.

Also, would you like to do something with your chart to reduce the calculation time down? Not too many users have patience for 3 minutes waiting time. Let me guess - are you using an AGGR() function with a large number of dimensional values? Or using too many IF() conditions?

cheers,

Oleg Troyansky

QlikView Your Business: An expert guide to Business Discovery with QlikView and Qlik Sense

Not applicable
Author

Hi,

thanks it works perfectly.

but is it possible to show the data when i change the percentage. because when i change the percentage the vCalculation set to 0 and show this result:

unfullfill.png

I still want to show the data when the user change the percentage but not calculate first until the user click the button.

Really need your help.

Thanks

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

OK, then you can use another trick...

Define 2 sets of variables - one set to be used for User Input and the other set to be used in your calculations.

The button "Calculate" should transfer the values from the input variables into the calculation variables. This way, the chart will remain static, using the "old" variables until the button Calculate is pressed.

cheers,

Oleg Troyansky

Not applicable
Author

Hi,

Thanks for your suggestion, but still don't get the idea.

Would you mind to give me the example please ?

I attach my qvw file here. Thanks

Not applicable
Author

Hi

thanks, i get your idea.

it solve my problem perfectly