Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Breezy
Creator II
Creator II

GetFieldSelection, different name if all are selected?

Hi,

For my example below, I selected all options (Region 1, Region 2, etc.). My KPI lists them all. However, IF ALL of the options are selected I would like this to change to saying "National" (instead of Region 1, Region 2..)

I was using:

GetFieldSelections ([Region],';',10)

 

Qlik_Region_Dropdown.JPG

Labels (1)
1 Solution

Accepted Solutions
rdelagarde
Contributor III
Contributor III

Hi,

GetFieldSelections() returns 'ALL' when all fields are selected.

You can try:

If(GetFieldSelections([Region],';') = 'ALL', 
   'National', 
   GetFieldSelections([Region],';')
)

View solution in original post

2 Replies
rdelagarde
Contributor III
Contributor III

Hi,

GetFieldSelections() returns 'ALL' when all fields are selected.

You can try:

If(GetFieldSelections([Region],';') = 'ALL', 
   'National', 
   GetFieldSelections([Region],';')
)
Breezy
Creator II
Creator II
Author

Thanks! Appreciated.