Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

raghavsurya
Valued Contributor

One variable dependent on other variable

Hi All,

I have a set of data consisting of brands and their products.  We are doing a sales projections under  what-if scenarios in which the user will be able to alter the sales % of few brands/products and the what-if values do change only for those brands/products. For Example

Brand                                     Product

Samsung                              21' TV

Samsung                              29" TV

Samsung                              42" TV

Samsung                              Automatic Washing Machine

LG                                        21' LCD TV

LG                                        29" LED TV

LG                                       42" LED TV

LG                                       Automatic Top Open Washing Machine

The requirement is we have defined a variable for Brand and another variable for Product.  We have provided input boxes with dropdown of  Brand and Products as well.  If the user selects Samsung in the First input box (variable as Brand) the Product variable should display only products related Brand selected in first input box.

Can anybody suggest how to build the dependency between two variables.

Regards,

Raghav

6 Replies

One variable dependent on other variable

Hi Raghav,

                You can use the Multibox instead of the drop down input box.

                You can also set the variable with selected value of ur multibox.

                Hope this will help you

Regards,

Kaushik Solanki

raghavsurya
Valued Contributor

One variable dependent on other variable

Hi Kaushik,

Thanks for your reply.  

The sales projections are to be changed only for the Brand/product we select... multibox solution does not help us.

Regards,

Raghav

One variable dependent on other variable

Hi,

     Can you please upload the sample QVW file.

Regards,

Kaushik Solanki

Not applicable

Re: One variable dependent on other variable

Hi,

as my understand i uploaded one file.plz check it.

Thanks&Regards

Chandra

Re: One variable dependent on other variable

Hi

  

     I am unable to figure out what output you require..

     Can you tell me in detail with an example

Regards,

Kaushik Solanki

oscar_ortiz
Valued Contributor

Re: One variable dependent on other variable

Is this what you are attempting to do?

Have a look at the two variables I've created on Sheet 1.

Then have a look at the document properties | triggers for what I do with these variables.

Hope this helps

Oscar

Community Browser