Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi QlikViewers,
I am having difficulties with the conditional display of charts.
What I am trying to do is:
- I have five charts that should never be shown at the same time.
- I have a variable (vShow).
- I have five buttons that assign values 0,1,2,3 or 4 to the variable.
What is not working:
- The statement that hides Chart A if the value is not equal to 0 (resp. hide Chart B if its not equal to 1, Chart C uneqal to 2 and so on...).
Any help is appreciated.
Thanks,
Lina
Lina,
Hope this will help you.
Thanks,
AS
The condtional show condition will simply be:
ChartA:
vShow = 0
ChartB:
vShow = 1
and so on...
Hi,
What condition you are trying to implement?
Try like this,
In LAyout->show-> Conditional
Expression -> if(vShow=1,1,0) for chart1
if(vShow=2,1,0) for chart1
if(vShow=3,1,0) for chart1
In your Button
add action->Action->External->set Variable
Regards
It seems to be so simple, but it´s not working for me.
I tried '=vShow = 0' in the Layout > Show > Conditional field. But all it does is disappear. Even if vShow actually is 0.
Please share your application.
Thanks,
AS
Hey guys,
thanks for your help.
Turned out that my buttons weren´t properly assigning the values. I don´t really know why, but by deleting the action and recreating it, I could solve the problem.
Cheers,
Lina