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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to create a button that apply customized condition

Hello Everyone,

I want to create a button that can apply some conditions based on set analysis.e-g break down of revenue between different departments. Is it possible to achieve using button ? that is when someone press the button the condition becomes true and the formulla is applied.

Regards,

Salman

3 Replies
Not applicable
Author

My recommendation would be to first create a variable, say vTest.  The give your button the action External > Set Variable and make your statement if(vTest=0,1,if(vTest=1,0,0)).  This will change the variable vTest from 0 to 1 and back.  Then you can create two expressions in your chart and 'Enable Conditional'.  One will be vTest=0 and the other will be vTest=1.  Does this make sense?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

or just =not vTest which will toggle it between 0 and -1


talk is cheap, supply exceeds demand
Not applicable
Author

Or that