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

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

How create a button for select and deselect a Flag without macros

Hi all,

I would create a button that set the value of a Flag to 1 (if the Flag was 0) and viceversa.

I'm using comparative analysis, so the Flag must be set for all the Sets of the comparative analysis.

Any idea?

PS: Sorry for my bad english....

1 Solution

Accepted Solutions
sparur
Specialist II
Specialist II

Hi

you can use Actions. Create a button, open properties, go to Actions tab, add new Action with Selection type. Select your Flag field. and type an expression like this: = if  (Flag = 1, 0, 1)

View solution in original post

3 Replies
sparur
Specialist II
Specialist II

Hi

you can use Actions. Create a button, open properties, go to Actions tab, add new Action with Selection type. Select your Flag field. and type an expression like this: = if  (Flag = 1, 0, 1)

Not applicable
Author

I had tried that and did not seem to work, but I realized that the problem was in the data!

Thanks anyway for the quick response

sparur
Specialist II
Specialist II

If you could provide your qvw example, I'll try to help.