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: 
Not applicable

Hide/show Current selection Object if any selection is made

Hello,


I want to show/hide a Current Selection objet depending on if a selection on any other objects has been made. So i wanna hide the Current Selection box if there is no selection and show it if there is any selection.


Which function can i use for that?


Thanks.


Tatiana

1 Solution

Accepted Solutions
avinashelite

try like this , in the layout

len(trim(GetCurrentSelections()))>0

View solution in original post

6 Replies
Anil_Babu_Samineni

We can do

Go to Layout Tab from Properties of CSB(Current Selection Box) and Enable the condition and use like below

If(GetFieldSelections(FieldName)>1, 1, 0)


For me it is working

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Not applicable
Author

hello Anil,

If i am not mistaken your expression will work only if a specific field is selected. I want the CSB to show if any field if selected not only a specific field.

fvelascog72
Partner - Specialist
Partner - Specialist

Hi,

Try with: GetCurrentSelections() = Null()

Cheers

avinashelite

try like this , in the layout

len(trim(GetCurrentSelections()))>0

Not applicable
Author

Thank you it works

avinashelite

Happy to help