Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

checking variable value to hide a graph

Hi All,

I have a question not sure how to explain but just trying to make you understand.

There is a variable declared in my file, whose value will be set dynamically based on selection of some other field.

Here the problem is I'm using this dynamically set variable to hide and display a graph. Since variable value is set dynamically based on selection and it wont have any value at the beginning my condition to hide/display object is not working.

Can some body please explain me how do I solve this problem??

Thanks in advance!!!

3 Replies

Re: checking variable value to hide a graph

Hi,

     Why dont you give default value to your variable.

Regards,

Kaushik Solanki

salto
Valued Contributor II

Re: checking variable value to hide a graph

The default value suggested above by Kaushik (which honestly is the answer I guess) could even be set depending on the values of the selections of the other fields when the document is opened.

Regards!

Employee
Employee

Re: checking variable value to hide a graph

Maybe your variable could use an IF condition and check if there´s something selected

If(isnull(GetFieldSelections('yourfield')), [default value], your normal condition)

Community Browser