<?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 Stringvariable in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887975#M998108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i define a variable as: set vSC = 'GetFieldselections(Field)';&lt;/P&gt;&lt;P&gt;the field variables in Field are type string. The variable works and i can see in QV that its changing value (text object) when making selections in field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use this variable in set analysis, but the exppression: sum({&amp;lt;val={'$(=SC)'}&amp;gt;} "summa över")&lt;/P&gt;&lt;P&gt;doesent seem to work. i have tried different solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Jun 2015 08:54:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-14T08:54:31Z</dc:date>
    <item>
      <title>Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887975#M998108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i define a variable as: set vSC = 'GetFieldselections(Field)';&lt;/P&gt;&lt;P&gt;the field variables in Field are type string. The variable works and i can see in QV that its changing value (text object) when making selections in field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to use this variable in set analysis, but the exppression: sum({&amp;lt;val={'$(=SC)'}&amp;gt;} "summa över")&lt;/P&gt;&lt;P&gt;doesent seem to work. i have tried different solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 08:54:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887975#M998108</guid>
      <dc:creator />
      <dc:date>2015-06-14T08:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887976#M998109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you give some examples how the returned string from GetFieldSelections() look like? For example, how many values you are selecting, how the values look like etc. You can also try&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;val = Field &amp;gt;} "summa över")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 09:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887976#M998109</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-14T09:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887977#M998110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The variable returned is a text string, i would like sum from the set analysis to depend on what values the variable SC has, eg if i make different selections in Field the sum in the set analysis will change with the selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 09:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887977#M998110</guid>
      <dc:creator />
      <dc:date>2015-06-14T09:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887978#M998111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;len(GetCurrentSelections(''Field'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 09:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887978#M998111</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-14T09:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887979#M998112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rgv rand, how shall i use the expression? in the set analysis? can you explain further?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 09:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887979#M998112</guid>
      <dc:creator />
      <dc:date>2015-06-14T09:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887980#M998113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rgv rand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you explain further? defining the variable as tour suggestion makes it numeric (as seen in text object), but how does it work in the set analysis?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 10:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887980#M998113</guid>
      <dc:creator />
      <dc:date>2015-06-14T10:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887981#M998114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some examples of your selections in Field and values to match in field val would be helpful. Since you are quoting your returned variable string, multiple selected values in Field would be taken as single value to match to val. Have you tried my suggested expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 10:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887981#M998114</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-14T10:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887982#M998115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try like this ,&lt;/P&gt;&lt;P&gt;keep above code in a variable and use it set analysis&lt;/P&gt;&lt;P&gt;In variable overview&lt;/P&gt;&lt;P&gt;vLen = len(getCurrentSelections('Field'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use it in set analysis.&lt;/P&gt;&lt;P&gt;sum($(vLen))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 10:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887982#M998115</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-14T10:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887983#M998116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you compare with my set analysis expression above, will sum($(vLen)) change the sum of summa över depending of choice of Field? is sum($(vLen)) the total expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 11:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887983#M998116</guid>
      <dc:creator />
      <dc:date>2015-06-14T11:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887984#M998117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think you want to find the length of string which you selected&amp;nbsp; .Isn't it ?&lt;/P&gt;&lt;P&gt;else &lt;/P&gt;&lt;P&gt;elaborate your requirement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and check the variable in declaration and&amp;nbsp; expression (in question ) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;set &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;vSC&lt;/EM&gt;&lt;/SPAN&gt; = 'GetFieldselections(Field)';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;sum({&amp;lt;val={'$(=&lt;EM&gt;SC)&lt;/EM&gt;'}&amp;gt;} "summa över")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;I don't think you used the same variable in expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 11:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887984#M998117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-14T11:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887985#M998118</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;If the dimension values has any spaces then this expression won't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;val=P(Field)&amp;gt;} "summa över")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vSC = chr(39) &amp;amp; GetFieldselections(Field, chr(39), ',', chr(39)) &amp;amp; chr(39)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and use below expression&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt; sum({&amp;lt;val={'$(=vSC)'}&amp;gt;} "summa över")&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 11:27:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887985#M998118</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-14T11:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887986#M998119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still doesent work, i modified to = chr(39) &amp;amp; GetFieldSelection(Field) &amp;amp; chr(39), this gives quotes round the variable but the sum function still not functioning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Anders&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 17:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887986#M998119</guid>
      <dc:creator />
      <dc:date>2015-06-14T17:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887987#M998120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hej!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I understand right, maybe this work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Val&lt;/SPAN&gt;={'$(=($(vSC)))'}, &lt;SPAN style="color: #800000;"&gt;Field&lt;/SPAN&gt;=&amp;gt;} &lt;SPAN style="color: #800000;"&gt;[Summa över]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I attach an example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hej då!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/Giuseppe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 19:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887987#M998120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-14T19:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887988#M998122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;sum({&amp;lt;val={$(=vSC)}&amp;gt;} [summa över])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #f2f2f2;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 02:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887988#M998122</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-15T02:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887989#M998123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anders,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'still doesn't work' is not a very helpful answer to us.&lt;/P&gt;&lt;P&gt;Again, why don't you come up with some sample data of the two fields in question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using GetFieldsSelection() might finally work, but has some limitations, e.g when selecting large amounts oft values. To get&amp;nbsp; potentially needed quoting correct is also not trivial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you still have issues getting the expected results, why don't you come up with some sample values of these two fields involved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I still got no answer why my very first suggested expression, which seems IMHO most simple and robust, is not working for you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;val = Field &amp;gt;} [summa över])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where Field is the field you used in GetFieldSelections() before. This should apply the selections in field &lt;EM&gt;Field&lt;/EM&gt; to field &lt;EM&gt;val&lt;/EM&gt;, where values are matching.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 07:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887989#M998123</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-15T07:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887990#M998124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anders,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think (like other person) it is better if you post an example (also a qvw test file) so we can understand what you need exactly.&lt;/P&gt;&lt;P&gt;My example is good for you or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Giuseppe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 07:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887990#M998124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-15T07:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887991#M998125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi In your variable trigger,&lt;/P&gt;&lt;P&gt;use the following&lt;/P&gt;&lt;P&gt;=chr(39)&amp;amp; Replace(GetFieldSelections(val),', ',chr(39)&amp;amp;','&amp;amp;chr(39))&amp;amp;chr(39)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the set expression should be simple&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;val={$(=vSC)}&amp;gt;} [summa över])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work with multi selects and values with spaces in them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 14:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887991#M998125</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-06-15T14:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887992#M998126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="PO1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89463_PO1.png" style="height: 180px; width: 620px;" /&gt;Please check the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 14:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887992#M998126</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-06-15T14:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stringvariable in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887993#M998127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anders,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you managed to get this working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2015 09:01:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stringvariable-in-set-analysis/m-p/887993#M998127</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2015-06-18T09:01:57Z</dc:date>
    </item>
  </channel>
</rss>

