Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

On list box select, only one colored value will be displayed

Hi

i have a List box, Pivot table as shown below

List box pivot table

A C D E Green

B F G H Red

I J K Green

L M N Red

when i click on A at list box it will show in pivot table Green

and when on B it will show 'Red' in pivot table

thanks

6 Replies
tresesco
MVP
MVP

Hi Kamal,

Can you explain a bit more? You have a List box with values like A,B,... What are the fields you are displaying in pivot table? Do you want the text 'red'/'green' to be displayed or the colors are expected to be reflected as font color? try to give a better view of your requirement.

regards, tresesco

Not applicable
Author

hi

i have a List box with two value as A , B

List box

A

B

and in pivot table data as shown below

C D E image (1)

F G H image (2)

I J K image (1)

L M N image (2)

O P Q image (1)

when i select A on list box

output will be like this

C D E image (1)

I J K image (1)

O P Q image (1)

and when B

F G H image (2)

L M N image (2)

it will be possible by using macro

pls help me

waiting 4 ur reply

Thanks and Regards

tresesco
MVP
MVP

Your explanation and example show that, List Box's 'A' is associated with image(1) and 'B' with image(2). If it is so, then simply make an inline load like:

load * Inline [

fieldofA/B, images

A, image(1)

B, image(2)

]; it will help associating your A/b values with images and should work fine. QV is very strong tool itself, we can do a lot with it, we do not need to go with macro always, even QTech discourages the use of macro.

regards, tresesco

Not applicable
Author

thanks 4 ur response

please send me ur email id i will send u a snap short of a example what i m looking 4

thanks

tresesco
MVP
MVP

You can upload an application/snapshot here itself. instead of choosing Quick Reply, go to reply option at the top and you would find an option to upload. i wont be able to access my email now.

Not applicable
Author

thanks buddy 4 ur reply

i upload that file,

thanks