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

Selected value in listbox should only display in table

Hi,

  I have four listbox of same field

Eg. Product field as product1

      Product field as product2

      Product field as product3

      Product field as product4

I have four list box

In that product1 listbox  i select tv

           product2 listbox  i select table

           product3 listbox not selected

           product4 listbox not selected 

My requirement is... In straight table i want to display the only selected product ie,

Product          Amount

TV                   10000

Table                 500

I have attached the sample file..

thanks in Advance....              

12 Replies
varshavig12
Specialist
Specialist

I think that the scenario you have explained does not match with your sample data..

your sample data is just product and amount

Where is your product 1 , product 2 and so on ....?

hemachandran
Partner - Creator
Partner - Creator
Author

Hi varsha,

I have only one field product..I want to display four listbox. so i renamed product as product1,product2,product3...

In that product1 listbox  i select tv

           product2 listbox  i select table

           product3 listbox not selected

           product4 listbox not selected

My requirement is... In straight table i want to display the only selected product ie,

Product          Amount

TV                   10000

Table                 500

Anonymous
Not applicable

Hi Hemachandran,

Use following:

Dimension:-Product

Expression:- sum({<Product={'Tv','Table'}>}Amount)

Here I have assumed that you want to calculate amount for only for Table and Tv

Thanks,

hemachandran
Partner - Creator
Partner - Creator
Author

Hi Pooja,

Thanks for ur reply..

My requirement is..

  I have four listbox of same field

Eg. Product field as product1

      Product field as product2

      Product field as product3

      Product field as product4

I have four list box

In that product1 listbox  i select tv

           product2 listbox  i select table

           product3 listbox not selected

           product4 listbox not selected

My requirement is... In straight table i want to display the only selected product ie,

Product          Amount

TV                   10000

Table                 500

varshavig12
Specialist
Specialist

Hi hemachandran d,

I made 4 list box , with alternate states-- ( alternate state is 2,3,4,5 ).

But the problem here I'm facing is that I have to select at least one value from each list box , else it gives me all the values.

I will try to find something with alternate states and let you know.

hemachandran
Partner - Creator
Partner - Creator
Author

Hi varsha,

Thanks for ur reply..can u send ur QVW file u tried...

varshavig12
Specialist
Specialist

Sure.

varshavig12
Specialist
Specialist

Demo

hemachandran
Partner - Creator
Partner - Creator
Author

Hi Varsha,

Thanks for ur response....