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

how to display 2 charts at a time with listbox ?

Hi ,

I am  madhu I created Bar chart.line chart, pie chart.combo chart in qlikview.I took a listbox and that box have these records.India, australia, UK ,Usa.after I displayed charts with the help of listbox.Like this I select India on listbox display barchart and I select Uk then displayed Line chart.But The problem is When I select 2 countries in Listbox.The 2 charts not displayed at a time.I want to display 2 charts at a time with the  help  of  listbox 2 selections .I do not know how to do this pls tell me out how to display 2 charts at a time with the help of list box selections.pls help me.

                                            Thankyou,

Regards:

Madhu.

6 Replies
ramoncova06
Specialist III
Specialist III

I am assuming you have a conditional on each graph, right ?

if(substringcount(Concat('||'&Country,'||'),'||USA||') >= 1 and GetSelectedCount(Country) >= 1,1,0)

use this for each graph that you have and it will allow you to show more than one selected graph

buzzy996
Master II
Master II

i think,go to layout tab and change the conditional expression for the charts,use the above expression thr.

u have to apply for all the charts

Not applicable
Author

yes

Not applicable
Author

I applied your expression dispappear my chart and I select country in list box the chart is not displayed.

Not applicable
Author

hi  Ramon thankyou.can you explain with example ramon.

Thankyou,

Regards

madhu

ramoncova06
Specialist III
Specialist III

there you go,

just realized that I had a typo in my expression

if(substringcount(Concat('||'&Country&'||'),'||US||') >= 1 and GetSelectedCount(Country) >= 1,1,0)