Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
ilanbaruch
Specialist
Specialist

GetFieldSelections

hi all,

I have a field with two values and i'm using GetFieldSelections to show / hide  objects,

but when no field selected they both gone:(

is there a way to show default object or maybe put it into a if statement when no field is selected??

thank you,

Ilan


1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Hi,

May be try like..

=isnull(GetFieldSelections(State)) or GetFieldSelections(State)

or

=GetPossibleCount(State)>0

View solution in original post

5 Replies
settu_periasamy
Master III
Master III

Hi,

May be try like..

=isnull(GetFieldSelections(State)) or GetFieldSelections(State)

or

=GetPossibleCount(State)>0

Anonymous
Not applicable

GetFieldSelections() will return Null is nothing is selected.  You should be able to trap that in an IF statement.

Anonymous
Not applicable

Can you post a sample qvw?

sasikanth
Master
Master

HI,

Instead use conditional enabling only for one Object,

For other Object keep it as it is,so that if you select any value according to that Objects will change

if not ,please post a sample data of yours ,

ilanbaruch
Specialist
Specialist
Author

Thank You!