Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
We value your feedback – take our 5-minute QlikView modernization survey
cancel
Showing results for 
Search instead for 
Did you mean: 
stjernvd
Partner - Creator
Partner - Creator

Show expression only if nothing is selected

Hi,

I want to hide my expression in my chart only if nothing is selected in any filters.

So in the conditional show box for expression I tried to put this:

=if(GetCurrentSelections() <> 0)

but it doesn't work.

Any ideas?

1 Solution

Accepted Solutions
sunny_talwar

Try this instead:

If you want to display when something is selected, try this:

Len(Trim(GetCurrentSelections)) > 0

For the expression to display when nothing is selected, try this:

Len(Trim(GetCurrentSelections)) = 0

View solution in original post

1 Reply
sunny_talwar

Try this instead:

If you want to display when something is selected, try this:

Len(Trim(GetCurrentSelections)) > 0

For the expression to display when nothing is selected, try this:

Len(Trim(GetCurrentSelections)) = 0