Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
devans_1
Creator
Creator

List of fields selected

Is there a way of getting a list of the fields selected ?

GetFieldSelections provides too much information as it provides the values as well. I am simply trying to check which fields are selected. Essestially I am trying to say

'If 'a particular set of fields has been selected' then ... else ..... '

I think I might need a macro. Any help would be very much appreciated.

Thanks

4 Replies
anderslinden
Partner - Contributor III
Partner - Contributor III

Try isnull(GetCurrentSelections())<>0 for test on any selections at all. Switch to GetFieldSelections(Yourfield) to test on specific fields. I Use these in cases where I want to hide objects if certain selections are made.

/Anders

BI Consultant, Business Information Providers
www.bipab.se
wardzynski
Creator
Creator

Great and simple solution, should be marked as answered!

anderslinden
Partner - Contributor III
Partner - Contributor III

Thanks! I haven't really understood who is responsible for marking questions as answered.

BI Consultant, Business Information Providers
www.bipab.se
salto
Specialist II
Specialist II

Hi,

As far as I know, the user who did  the question / discussion is responsible of marking it as answered or useful. This is not always done!

Regards.