<?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: Multiple Values for Variable within Expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Multiple-Values-for-Variable-within-Expression/m-p/1866866#M71585</link>
    <description>&lt;P&gt;create variables like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var1==GetFieldSelections(Category1)&lt;/P&gt;
&lt;P&gt;var2==GetFieldSelections(Category2)&lt;/P&gt;
&lt;P&gt;=sum({&amp;lt;Category1={'$(var1)'},Category2={'$(var2)'}&amp;gt;}Expression1)/1000&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 02:17:53 GMT</pubDate>
    <dc:creator>anat</dc:creator>
    <dc:date>2021-12-06T02:17:53Z</dc:date>
    <item>
      <title>Multiple Values for Variable within Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-Values-for-Variable-within-Expression/m-p/1866861#M71584</link>
      <description>&lt;P&gt;I'm trying to use multiple values for an variable within an expression and I can't quite get the syntax right.&lt;/P&gt;
&lt;P&gt;I have variable v.Example (obviously I am using proxies as I can't show my details)&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt; Category1 = {"$1"},&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Category2 = {"$2"}&amp;gt;} &lt;BR /&gt;Amount)/1000))&lt;/P&gt;
&lt;P&gt;Category1 can take the following values up, down, left, right&lt;/P&gt;
&lt;P&gt;Category2 can take the following values peppermint, topspin, Cthulu -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to be able to select more than value for each variable in my set expression so for example I would like&lt;/P&gt;
&lt;P&gt;v.Example(down, [peppermint, Cthulu])&lt;/P&gt;
&lt;P&gt;Can someone please help out with the correct syntax?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 01:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-Values-for-Variable-within-Expression/m-p/1866861#M71584</guid>
      <dc:creator>GrantBooth</dc:creator>
      <dc:date>2021-12-06T01:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Values for Variable within Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-Values-for-Variable-within-Expression/m-p/1866866#M71585</link>
      <description>&lt;P&gt;create variables like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var1==GetFieldSelections(Category1)&lt;/P&gt;
&lt;P&gt;var2==GetFieldSelections(Category2)&lt;/P&gt;
&lt;P&gt;=sum({&amp;lt;Category1={'$(var1)'},Category2={'$(var2)'}&amp;gt;}Expression1)/1000&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 02:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-Values-for-Variable-within-Expression/m-p/1866866#M71585</guid>
      <dc:creator>anat</dc:creator>
      <dc:date>2021-12-06T02:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Values for Variable within Expression</title>
      <link>https://community.qlik.com/t5/App-Development/Multiple-Values-for-Variable-within-Expression/m-p/1866869#M71586</link>
      <description>&lt;P&gt;Thanks, but i'm not relying on the user to make selections, I'm trying to do it directly through an expression.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 02:26:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Multiple-Values-for-Variable-within-Expression/m-p/1866869#M71586</guid>
      <dc:creator>GrantBooth</dc:creator>
      <dc:date>2021-12-06T02:26:29Z</dc:date>
    </item>
  </channel>
</rss>

