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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register 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

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
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