<?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 Issue with List Box Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-List-Box-Selection/m-p/391235#M565637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going mad with this really silly issue I am having with the listbox selection.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 listbox.&lt;/P&gt;&lt;P&gt;One with geography hierarchy ( Global--Region---Area---Country) and I have another one which lists the measures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The measures are specific to geograhy levels. That is I have Global Measures, Region Measures, Area Measures etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select a certain Region, I should get Region specific measures and so on. &lt;/P&gt;&lt;P&gt;If nothing is selected it should show Global Measures. &lt;/P&gt;&lt;P&gt;This I have done it using the following in the expression in Measure listbox and it works fine based on what I select in Geography Listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if(GetSelectedCount(Country) &amp;gt; 0, if(wildmatch([Measure Name],'*Country*'),[Measure Name]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(Area) &amp;gt; 0, if(WildMatch([Measure Name],'*Area*'),[Measure Name]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(Region) &amp;gt; 0, if(WildMatch([Measure Name],'*Region*'),[Measure Name]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(Region)= 0 and GetSelectedCount(Area)=0 and GetSelectedCount(Country)= 0, if(WildMatch([Measure Name], '*Global*'),[Measure Name],Null())))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;If I select say Region = Africa I get the Region specific measures in the other listbox. But when I select a Region measure it takes the current selection for all Regions. That is for Ex: Region = Africa, America, Asia etc in the current selections. The original selection for Region =Africa is gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont understand why this is happening?&lt;/P&gt;&lt;P&gt;Is there a way to make sure that the selections made in the geography listbox stays as it is even after selection of the measure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhiraj &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 15:48:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-03T15:48:22Z</dc:date>
    <item>
      <title>Issue with List Box Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-List-Box-Selection/m-p/391235#M565637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am going mad with this really silly issue I am having with the listbox selection.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 listbox.&lt;/P&gt;&lt;P&gt;One with geography hierarchy ( Global--Region---Area---Country) and I have another one which lists the measures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The measures are specific to geograhy levels. That is I have Global Measures, Region Measures, Area Measures etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select a certain Region, I should get Region specific measures and so on. &lt;/P&gt;&lt;P&gt;If nothing is selected it should show Global Measures. &lt;/P&gt;&lt;P&gt;This I have done it using the following in the expression in Measure listbox and it works fine based on what I select in Geography Listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= if(GetSelectedCount(Country) &amp;gt; 0, if(wildmatch([Measure Name],'*Country*'),[Measure Name]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(Area) &amp;gt; 0, if(WildMatch([Measure Name],'*Area*'),[Measure Name]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(Region) &amp;gt; 0, if(WildMatch([Measure Name],'*Region*'),[Measure Name]),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; if(GetSelectedCount(Region)= 0 and GetSelectedCount(Area)=0 and GetSelectedCount(Country)= 0, if(WildMatch([Measure Name], '*Global*'),[Measure Name],Null())))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Issue:&lt;/P&gt;&lt;P&gt;If I select say Region = Africa I get the Region specific measures in the other listbox. But when I select a Region measure it takes the current selection for all Regions. That is for Ex: Region = Africa, America, Asia etc in the current selections. The original selection for Region =Africa is gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont understand why this is happening?&lt;/P&gt;&lt;P&gt;Is there a way to make sure that the selections made in the geography listbox stays as it is even after selection of the measure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhiraj &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 15:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-List-Box-Selection/m-p/391235#M565637</guid>
      <dc:creator />
      <dc:date>2013-01-03T15:48:22Z</dc:date>
    </item>
  </channel>
</rss>

