<?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: How to use set modifier with a variable ? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-set-modifier-with-a-variable/m-p/1954276#M78701</link>
    <description>&lt;P&gt;you can look to use the P() function here.&lt;/P&gt;
&lt;P&gt;Region = P({&amp;lt; optional set analysis to determine which countries &amp;gt;} Country)&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 20:24:10 GMT</pubDate>
    <dc:creator>stevejoyce</dc:creator>
    <dc:date>2022-07-11T20:24:10Z</dc:date>
    <item>
      <title>How to use set modifier with a variable ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-set-modifier-with-a-variable/m-p/1954273#M78699</link>
      <description>&lt;P&gt;Let's say I have a formula like the one below (taken from Qlik help):&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;sum( {$&amp;lt;Year = {2000}, Region = {US, SE, DE, UK, FR}&amp;gt;} Sales )&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Instead of listing the countries:&amp;nbsp;&lt;SPAN&gt;{US, SE, DE, UK, FR} I'd like to find a way to dynamically compute this list based on value available in one of the table.&lt;BR /&gt;&lt;BR /&gt;The table would look something like this:&lt;BR /&gt;&lt;BR /&gt;Country&amp;nbsp; / Value 1 / Value 2 ...&lt;BR /&gt;US&lt;BR /&gt;US&lt;BR /&gt;FR&lt;BR /&gt;FR&lt;BR /&gt;FR&lt;BR /&gt;DE&lt;BR /&gt;US&lt;BR /&gt;UK&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;I'd like to be able to extract the list of unique countries from this table and pas it as an argument to the set modifiers.&lt;BR /&gt;&lt;BR /&gt;Thanks !&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 20:17:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-set-modifier-with-a-variable/m-p/1954273#M78699</guid>
      <dc:creator>Derek_T</dc:creator>
      <dc:date>2022-07-11T20:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use set modifier with a variable ?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-set-modifier-with-a-variable/m-p/1954276#M78701</link>
      <description>&lt;P&gt;you can look to use the P() function here.&lt;/P&gt;
&lt;P&gt;Region = P({&amp;lt; optional set analysis to determine which countries &amp;gt;} Country)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 20:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-set-modifier-with-a-variable/m-p/1954276#M78701</guid>
      <dc:creator>stevejoyce</dc:creator>
      <dc:date>2022-07-11T20:24:10Z</dc:date>
    </item>
  </channel>
</rss>

