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

Conditional Show of Graph not working

Hi everybody, hope you can help me.

I have a graph with the following condition to be shown or not

vShowGraph = 'Date'

and two buttons setting the variables this way

But It not works. Am I overlooking anything?

Thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

You have disable show conditionals on. CTRL+SHIFT+S to the rescue and it works fine.

View solution in original post

10 Replies
maleksafa
Specialist
Specialist

and where are you using the variable vShowGraph in the chart?

Anonymous
Not applicable
Author

In the design tab

regards

Gysbert_Wassenaar

Can you post a document that demonstrates the problem?


talk is cheap, supply exceeds demand
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Change the values in input box 'Valor' to expressions like ='Date' and ='BetweenDates'.

See if that helps...

PrashantSangle

Hi,

Change condition like

IF(vShowGraph='Date',1,0)

and other chart

IF(vShowGraph='BetweenDate',1,0)

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
maleksafa
Specialist
Specialist

it should be working fine exactly the way you did, are you creating the variable vShowGraph from the load script of variable overview, make sure that the variable is created after the load script and evaluate the variable content after clicking on the buttons (from the variable overview or a simple text object)

Anonymous
Not applicable
Author

Here you are. The variable has been created in the variables panel. There is a input box where you can see how the variable changes depending on the button pressed.

Thanks

Anonymous
Not applicable
Author

You have disable show conditionals on. CTRL+SHIFT+S to the rescue and it works fine.

Gysbert_Wassenaar

Settings->Document Properties->Securities-> Uncheck 'Show All Sheets and Objects'


talk is cheap, supply exceeds demand