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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide an object based on a selection

Hi,

Is it possible to use "Show Conditional" property to show or hide an object based on a selected value in a field?

I tried to use the following in the expression, but it doesn't work out.

ActiveDocument.fields("MyField").GetSelectedValues.Item(0).text

1 Solution

Accepted Solutions
manishkumar75
Partner - Creator II
Partner - Creator II

Hi,

You can use the following :-

GetFieldSelections(TransactionTypeL1) = 1

For the above condition , chart will be shown for TransactionTypeL1 = 1 . You can change your condition as per need.

Hope it will work.

- Manish



View solution in original post

2 Replies
manishkumar75
Partner - Creator II
Partner - Creator II

Hi,

You can use the following :-

GetFieldSelections(TransactionTypeL1) = 1

For the above condition , chart will be shown for TransactionTypeL1 = 1 . You can change your condition as per need.

Hope it will work.

- Manish



Not applicable
Author

That's exactly what I wanted.

Thanks a lot.