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

Conditionally remove expression when any selection is made

I need an expression to disappear from a chart when any selection is made in the following fields

Product

Region

Market

I am using the GetFieldSelections function in the Conditional box, but can't work out the correct syntax.

What would be the correct expression?

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Use : GetSelectedCount(YourFieldName)

View solution in original post

5 Replies
tresesco
MVP
MVP

Use : GetSelectedCount(YourFieldName)

MK_QSL
MVP
MVP

Chart Properties

Layout Tab

Show Conditional

Type Below

=IF(GetSelectedCount(Product)+GetSelectedCount(Region)+GetSelectedCount(Market)>0,0,1)


Sorry, I misread.

Use above in Expression Condition.. in expression tab

rustyfishbones
Master II
Master II

Add this in the Conditional Show

2014-04-28_1154.png

2014-04-28_1155.png

dinuwanbr
Creator III
Creator III

Hi there,

In conditional state write =GetCurrentSelection(Product, Region, Market).

Hope this will solve your problem.

-Dinu1

vijetas42
Specialist
Specialist

Hi,

Try this,

if(GetSelectedCount(Fieldname)>0,0,1) in your chart expression conditional where you need to hide

Regards,

Vijeta