Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hide object - does not work

Edit by Community Team member.

Please post in English unless you are posting in a language specific section.

Post translated by Google Translate.

---

Good morning people,

I have a difficulty and, if possible, would like to help:

I created a button to hide some objects, variables ... all right ... works on a project .. another, simply does not hide the object ..

It's very weird...

already put in the object, provided that show, something like 1 = 2, which returns false ... and even then, the object is not hidden ..

In the folder properties / objects / column mode Show is as Conditional = Hidden ... but the object keeps popping up ...

I could not find the logic ...

Is there any property in the folder or document that prevents the display condition of the object applied?

Thank you so much

Luiz

3 Replies
vinieme12
Champion III
Champion III

Hi Luiz,

First make sure your variables are being evaluated correctly.

Then add the below in the layout tab show >> conditional

= if( variable/field = some value, 0,1)

0 means hide and 1 means show

Switch the positions of 0 and 1 as needed.

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
maksim_senin
Partner - Creator III
Partner - Creator III

Hi Luiz,

It would be helpfull to see sample app which behave in that way.

As for expression to be used in object property, personally I prefer to use if() which only returns 1 (or true) when the object shall be displayed. So I don't use second param in if(). E.g.:

if('sales'=vShownReport,1)

Best regards,

Maxim

Anonymous
Not applicable
Author

Please see the attached QVW for your reference .