<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: List Box &amp; Bar Chart Expression Not Linked in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/List-Box-Bar-Chart-Expression-Not-Linked/m-p/304768#M583862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your list box and bar chart is connected very well, but you set a new selection to WRLD_RGN in your set expression, so the actual selection in your list box is not taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add a WRLD_RGN * to the assignment to WRLD_RGN just after the equal sign (or use *=), like in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;WRLD_RGN=&lt;STRONG&gt;WRLD_RGN*&lt;/STRONG&gt;{'Oceania','Supra','Asia','OffShore','India'}&amp;gt;} WRLD_RGN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;you might also consider using a separate table to link your regions to your classification maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;WRLD_RGN, SALESREGION&lt;/P&gt;&lt;P&gt;Lat.Amer,North America&lt;/P&gt;&lt;P&gt;N.Amer,North America&lt;/P&gt;&lt;P&gt;Caribbean,North America&lt;/P&gt;&lt;P&gt;Africa,EMEA&lt;/P&gt;&lt;P&gt;E.Eur,EMEA&lt;/P&gt;&lt;P&gt;Europe,EMEA&lt;/P&gt;&lt;P&gt;MiddleEast,EMEA&lt;/P&gt;&lt;P&gt;Oceania,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;Supra,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;Asia,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;OffShore,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;India,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could use SALESREGION as a listbox as well as a dimension field in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Oct 2011 16:29:00 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2011-10-01T16:29:00Z</dc:date>
    <item>
      <title>List Box &amp; Bar Chart Expression Not Linked</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-Bar-Chart-Expression-Not-Linked/m-p/304767#M583861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm in need of some help with controlling a Bar Chart with a List Box. I'm trying to get a Bar Chart with 3 separate bars, one for each group as can be seen in the List Box breakdown below. What I would like to happen is to select one or more of the 3 values in the list box (North America, EMEA or Asia &amp;amp; Others) and have the corresponding bar appear/disappear depending on what is selected. There seems to be a disconnect between the expression as a field in the List Box and the corresponding expressions in the Bar Chart. Regardless of what is selected in the List Box, the Bar Chart remains the same showing all 3 bars. The only item that reacts to the List Box selection is the simple expression "count(WRLD_RGN)" which counts all values and puts them into 1 bar instead of breaks them into separate bars as I would like. This is not what I want, but I wanted to see if anything reacted to the list box so this was just a test bar of sorts. Any help is appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My List Box has the following expression as a field in order to group the actual field values:&lt;/P&gt;&lt;P&gt;=if(WRLD_RGN='Lat.Amer','North America'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='N.Amer','North America'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='Caribbean','North America'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='Africa','EMEA'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='E.Eur','EMEA'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='Europe','EMEA'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='MiddleEast','EMEA'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='Oceania','Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='Supra','Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='Asia','Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='OffShore','Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;,if(WRLD_RGN='India','Asia &amp;amp; Others'))))))))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Bar Chart as the following expressions:&lt;/P&gt;&lt;P&gt;count({&amp;lt;WRLD_RGN={'Oceania','Supra','Asia','OffShore','India'}&amp;gt;} WRLD_RGN)&lt;/P&gt;&lt;P&gt;count({&amp;lt;WRLD_RGN={'Africa','E.Eur','Europe','MiddleEast'}&amp;gt;} WRLD_RGN)&lt;/P&gt;&lt;P&gt;count({&amp;lt;WRLD_RGN={'Lat.Amer','N.Amer','Caribbean'}&amp;gt;} WRLD_RGN)&lt;/P&gt;&lt;P&gt;count(WRLD_RGN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the following dimension which is irrelevant in my mind: LT_RTNG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2011 13:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-Bar-Chart-Expression-Not-Linked/m-p/304767#M583861</guid>
      <dc:creator />
      <dc:date>2011-09-30T13:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: List Box &amp; Bar Chart Expression Not Linked</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-Bar-Chart-Expression-Not-Linked/m-p/304768#M583862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your list box and bar chart is connected very well, but you set a new selection to WRLD_RGN in your set expression, so the actual selection in your list box is not taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add a WRLD_RGN * to the assignment to WRLD_RGN just after the equal sign (or use *=), like in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;WRLD_RGN=&lt;STRONG&gt;WRLD_RGN*&lt;/STRONG&gt;{'Oceania','Supra','Asia','OffShore','India'}&amp;gt;} WRLD_RGN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should do the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;you might also consider using a separate table to link your regions to your classification maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;WRLD_RGN, SALESREGION&lt;/P&gt;&lt;P&gt;Lat.Amer,North America&lt;/P&gt;&lt;P&gt;N.Amer,North America&lt;/P&gt;&lt;P&gt;Caribbean,North America&lt;/P&gt;&lt;P&gt;Africa,EMEA&lt;/P&gt;&lt;P&gt;E.Eur,EMEA&lt;/P&gt;&lt;P&gt;Europe,EMEA&lt;/P&gt;&lt;P&gt;MiddleEast,EMEA&lt;/P&gt;&lt;P&gt;Oceania,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;Supra,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;Asia,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;OffShore,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt;India,'Asia &amp;amp; Others'&lt;/P&gt;&lt;P&gt; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could use SALESREGION as a listbox as well as a dimension field in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2011 16:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-Bar-Chart-Expression-Not-Linked/m-p/304768#M583862</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-10-01T16:29:00Z</dc:date>
    </item>
    <item>
      <title>List Box &amp; Bar Chart Expression Not Linked</title>
      <link>https://community.qlik.com/t5/QlikView/List-Box-Bar-Chart-Expression-Not-Linked/m-p/304769#M583863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan, that was it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2011 13:14:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/List-Box-Bar-Chart-Expression-Not-Linked/m-p/304769#M583863</guid>
      <dc:creator />
      <dc:date>2011-10-03T13:14:24Z</dc:date>
    </item>
  </channel>
</rss>

