<?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 Variable choice with list box in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-choice-with-list-box/m-p/287415#M499238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my example.&amp;nbsp; I have set some variables with the set that I need to include in the set analysis.&amp;nbsp; I can use them individually in the Static column as you can see, but when I try and make it based on what is in the Base field I can't get the syntax working.&amp;nbsp; Anyone got any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to be clear, when a user selects USA I want the vUSA variable to be used in the set analysis which would give {'USA'}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2011 13:49:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-14T13:49:17Z</dc:date>
    <item>
      <title>Variable choice with list box</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-choice-with-list-box/m-p/287415#M499238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my example.&amp;nbsp; I have set some variables with the set that I need to include in the set analysis.&amp;nbsp; I can use them individually in the Static column as you can see, but when I try and make it based on what is in the Base field I can't get the syntax working.&amp;nbsp; Anyone got any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to be clear, when a user selects USA I want the vUSA variable to be used in the set analysis which would give {'USA'}.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 13:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-choice-with-list-box/m-p/287415#M499238</guid>
      <dc:creator />
      <dc:date>2011-06-14T13:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Variable choice with list box</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-choice-with-list-box/m-p/287416#M499239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gareth:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this expression for Choice: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Visits) /&amp;nbsp; Sum({&amp;lt;Country={$(=Replace(Concat(DISTINCT Choice, ','), ' + ', ','))}&amp;gt;} TOTAL Visits)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic:&amp;nbsp; Have been extracting the unique "Country" values and using that list in Set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Narasimha K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2011 14:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-choice-with-list-box/m-p/287416#M499239</guid>
      <dc:creator />
      <dc:date>2011-06-14T14:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Variable choice with list box</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-choice-with-list-box/m-p/287417#M499240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks mate this works a treat!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 07:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-choice-with-list-box/m-p/287417#M499240</guid>
      <dc:creator />
      <dc:date>2011-06-15T07:46:50Z</dc:date>
    </item>
  </channel>
</rss>

