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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Amit_B
Creator II
Creator II

Resets selections in multiple fields

Hi all,

Is it possible to create an action (using buttom) that resets selections in multiple fields?

All the fields have the same name with a different serial number. For example: _flagNo1, _flagNo2, _flagNo3 and so (total of 40).

(I need to use HidePrefix on these fields)

Thanks.

Labels (4)
3 Replies
jchx
Contributor III
Contributor III

Do you want hideprefix or reset selections? Maybe give an example of the outcome you hope to achieve !

marcus_sommer

I suggest to consider a re-design of the data-model and transforming the n fields per The Crosstable Load - Qlik Community - 1468083.

Amit_B
Creator II
Creator II
Author

I need both..
My main issue is to reset the selections.
It is not possible to select fields in the actions if the script is used with the HidePrefix() function.
So I eliminated the use of the function, and I'm trying to create an action that will reset the selections in those fields. Then I will load again with HidePrefix() function.

I also tried to reset each field in separate action (same buttom).
But once you press the button, the reset takes time, and the fields are reset one after the other (not like when using Clear All Selection).
I tried it with 5 fields and it doesn't look good, so it's unnecessary for me to try with 40...