Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional show using variables - doesn't work properly in one QVW

Hi everyone,

I was wondering if any of you have ever seen similar issue. Any advices are welcome!

I'm trying to create two buttons (called: "More Filters" and "Hide filters", using simple text objects) and assign an action to each of them: External > Set Variable > vFilters (one to set value 1 and the other to clear the value to 0). As the names suggest, I want to create an additional set of filters, visible for the end user after clicking on More Filters button. I used the conditional show feature for the text box to be displayed when

vFilters = 1. My text box seems to ignore the conditional display and is visible all the time, as per below sample screenshot:

sc1.PNG

Text box on the top displays the current value for vFilter.

Text box on the bottom >>> conditional show should follow the rule: if($(vFilter) = 1,1,0 )

And one last thing - I tried exactly the same steps as above for a second, brand new document - conditional show works with no problem at all... Is there anything in document's settings/object settings I should check to resolve it? Or is there anything I'm missing? These steps worked fine yesterday for my QVW, when was creating some other conditionally displayed objects. Thanks in advance!

1 Reply
NareshGuntur
Partner - Specialist
Partner - Specialist

Hi Michalina,

I faced the same issue today. If you are still looking for the reason, I got it from my colleague. Thanks to  aadilmadarveet

In the Document Properties--> Security, there is an option selected "Show All Sheets and Objects". This needs to be unchecked. That is the reason you find this issue only in one qvw and not the other.

Best Regards,

Naresh