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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change all selections based on set variable

Hello!

So, I'd like my overall document selections to change based on a set variable which I have bound to a button. I have an example dashboard which shows a "generic cycle" but I'm unsure how to add or work with this dimension.

Basically, functionally, I'm looking to click a button which sets a variable and then the selection for all list boxes and charts gets "filtered" into the selection. This is based on my Date calculations.

So, when variable = 0, selection is set to Clear

When variable = 1, selection is set to =count({<ConclusionDate={"<=$(=today())"}>} ConclusionDate)

When variable = 0, back to Clear

Where would I put this so that all selections would show only the results from the above count?

3 Replies
MayilVahanan

HI

PFA

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thank you! Excellent example!

Not applicable
Author

Yes, thank you! I forgot to remove the count, I was using that for validation of my choices.