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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selection

Hi,

I have two questions from the attached document.

1) when I make the selection, say country and click on button 1, I will be seeing the required chart and when I click on button 2, the selection gets cleared off and when I click back on button 1 again, the selection made previously will be selected and this is how I need. But I am not able to make multiple selection for a single field i.e. when I select two or more countries, the concept above is not working. When I move from button 2 to button 1, everything gets cleared off.

2) Is it possible to select the not selected country when moving from button1 to button2. for ex,when a user selects two countries say CN and US when in button 1 and then the user clicks on button 2, the countries other than CN and US should be automatically selected.

I am using version 8.2 and so Set analysis won't help in my case. Any suggestions please.

2 Replies
Not applicable
Author

Hi

The statement "ActiveDocument.Fields("Country").Selectexcluded" does exactly what you're looking for.
Just remove the lines in the macro that clears the selections and it should work.

regards
/Fredrik

Not applicable
Author

Yes fredrik, removing clear the selections solved my second problem.

can you suggest some macro to solve the first problem.

Thanks