<?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 How to replace action/triggers with set variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-replace-action-triggers-with-set-variables/m-p/1449663#M802811</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 have a concern on creating a set variable for below conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Currently I'm using a action button to select few countries.&lt;/P&gt;&lt;P&gt;Text object-action-set field-Country -search(List of Countries)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine but the list of countries might change so taught of using a set varaiable in place of set field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired in below way &lt;/P&gt;&lt;P&gt;set vcountrylist -'(A,B,C,D)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vCountry == if(len(vcountrylist)&amp;gt; 0,vcountrylist,0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>kvr9</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to replace action/triggers with set variables</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-action-triggers-with-set-variables/m-p/1449663#M802811</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 have a concern on creating a set variable for below conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Currently I'm using a action button to select few countries.&lt;/P&gt;&lt;P&gt;Text object-action-set field-Country -search(List of Countries)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine but the list of countries might change so taught of using a set varaiable in place of set field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tired in below way &lt;/P&gt;&lt;P&gt;set vcountrylist -'(A,B,C,D)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vCountry == if(len(vcountrylist)&amp;gt; 0,vcountrylist,0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-action-triggers-with-set-variables/m-p/1449663#M802811</guid>
      <dc:creator>kvr9</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

