<?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 Set Analysis with multiple value variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341101#M29589</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 sum using set analysis, but one of the criteria is this: &lt;STRONG&gt;BPLId={'$(Branch)'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Where &lt;STRONG&gt;Branch &lt;/STRONG&gt;is a variable that currently contain the number 1.&lt;/P&gt;&lt;P&gt;But I'd like to be able to use two value: 1 and 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know if I make my set analysis criteria like &lt;STRONG&gt;BPLId={'1,3'}&lt;/STRONG&gt; it works, but I cant figure out how to make it work using the variable instead.&lt;/P&gt;&lt;P&gt;Maybe I have to set the values in the variable with some kind of concatenation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I should mention that this variable is created manually on the app variables menu, not in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone shed a light on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2017 16:11:21 GMT</pubDate>
    <dc:creator>mendoncart</dc:creator>
    <dc:date>2017-04-04T16:11:21Z</dc:date>
    <item>
      <title>Set Analysis with multiple value variable</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341101#M29589</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 sum using set analysis, but one of the criteria is this: &lt;STRONG&gt;BPLId={'$(Branch)'}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Where &lt;STRONG&gt;Branch &lt;/STRONG&gt;is a variable that currently contain the number 1.&lt;/P&gt;&lt;P&gt;But I'd like to be able to use two value: 1 and 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know if I make my set analysis criteria like &lt;STRONG&gt;BPLId={'1,3'}&lt;/STRONG&gt; it works, but I cant figure out how to make it work using the variable instead.&lt;/P&gt;&lt;P&gt;Maybe I have to set the values in the variable with some kind of concatenation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I should mention that this variable is created manually on the app variables menu, not in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone shed a light on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:11:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341101#M29589</guid>
      <dc:creator>mendoncart</dc:creator>
      <dc:date>2017-04-04T16:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple value variable</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341102#M29590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;It needs to have single quotes around individual Branch&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BPLId={'1,3'} -&amp;gt; Incorrect&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BPLId={'1', '3'} -&amp;gt; Correct&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;What is your variable Branch expands to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341102#M29590</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-04T16:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple value variable</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341103#M29591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, I'm sorry. You are right, {'1','3'} is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, my variable is simple just storing the number 1. &lt;/P&gt;&lt;P&gt;I've tried several forms to combine two values, but no success...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Print of my variable:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik Sense Desktop_2.jpg" class="jive-image image-1" src="/legacyfs/online/158941_Qlik Sense Desktop_2.jpg" style="height: 201px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 18:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341103#M29591</guid>
      <dc:creator>mendoncart</dc:creator>
      <dc:date>2017-04-04T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple value variable</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341104#M29592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you intend to enter the two values? can you show us this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 18:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341104#M29592</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-04T18:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple value variable</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341105#M29593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is exactly what I wanna know!&lt;/P&gt;&lt;P&gt;How to enter two values in the variable to reflect on the set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 20:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341105#M29593</guid>
      <dc:creator>mendoncart</dc:creator>
      <dc:date>2017-04-04T20:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple value variable</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341106#M29594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be enter like this&lt;/P&gt;&lt;P&gt;1, 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use it like this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BPLId = {$(=Chr(39) &amp;amp; Replace(Branch, ',', Chr(39) &amp;amp; ',' &amp;amp; Chr(39)) &amp;amp; Chr(39))}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 07:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341106#M29594</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-05T07:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple value variable</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341107#M29595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked like a charm! Thank you so much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to see what is going on, this formula inserts single quotes with Chr(39) and replace the comma with comma and quotes, closing the end with another quote. Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, I'll be able to use as much values inside my variable as I may need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, thanks again for all your support!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 13:12:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341107#M29595</guid>
      <dc:creator>mendoncart</dc:creator>
      <dc:date>2017-04-05T13:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with multiple value variable</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341108#M29596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Comma is replaced with ','&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So 1, 3 is becoming '1', '3'. Similarly, 1, 3, 5 will become '1', '3', '5' &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2017 13:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-multiple-value-variable/m-p/1341108#M29596</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-05T13:15:11Z</dc:date>
    </item>
  </channel>
</rss>

