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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
ishika00730
Contributor III
Contributor III

Hide or Show an object

Hi,

I have a requirement to hide and show an object depending upon the selection made in a field.

To always show the text object on dashboard (which has Vs Target figure ). When a user selects any value in the field "Market" , the text object shall still be on the dashboard . Then the object will show the Vs Target figure for the selected Market.

But if there is any selection in any other field except markwt, then my text object must hide because the Target is divided by Market and not by any other field.

Labels (1)
5 Replies
tresB
Champion III
Champion III

Try conditional expression like:

=Subfield(GetCurrentSelections('','','',''), 'Market',2)=GetFieldSelections(Market,'')

ishika00730
Contributor III
Contributor III
Author

Hi,

Thanks for the reply. But where should I use this expression. In the Conditional Layout or in conditional enable expression?

Thanks

ishika

tresB
Champion III
Champion III

If you want to hide the object use layout expression and if want to keep the object but not show the calculated value, use enable expression.

ishika00730
Contributor III
Contributor III
Author

Hi,

I used the expression suggested by you but I still get the expression result

tresB
Champion III
Champion III

Could you share your sample app?