<?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: Set Analisys take an element in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107827#M509744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i find the errror in set analisys:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Sum({&amp;lt;DATA_OUT={"=Aggr(Max(DATA_OUT), MESEOUT, COD_PUNTO)"},STATO_OUT&lt;STRONG&gt;=&lt;/STRONG&gt;{$(=chr(39) &amp;amp; concat(distinct STATO_OUT, chr(39) &amp;amp;', ' &amp;amp; chr(39)) &amp;amp; chr(39) )} -&amp;nbsp; {'SCADENZA'}&amp;gt;} CONSUMO_TOT_ANNUO),&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way it work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need after STATO_OUT an &lt;STRONG&gt;&lt;EM&gt;=&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 14:11:37 GMT</pubDate>
    <dc:creator>danosoft</dc:creator>
    <dc:date>2018-09-25T14:11:37Z</dc:date>
    <item>
      <title>Set Analisys take an element</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107822#M509739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to do this set analisys taking a value from my list box,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i choose "CESSAZIONE" and "RECESSO" in my list box&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this set analisis work if i choose ONE of those two elements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DATA_OUT={"=Aggr(Max(DATA_OUT), MESEOUT, COD_PUNTO)"},STATO_OUT={"$(=GetFieldSelections(STATO_OUT))"} -&amp;nbsp; {'SCADENZA'}&amp;gt;} CONSUMO_TOT_ANNUO),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i choose ALL TWO elements ("cessazione" and "recesso") this not work, no rows return...... why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 13:38:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107822#M509739</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-09-25T13:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys take an element</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107823#M509740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose that it's because getfieldselections separtes the tiems with a commy&lt;/P&gt;&lt;P&gt;like CESSAZIONE, RECESSO&lt;/P&gt;&lt;P&gt;but Set Analysis requires 'CESSAZIONE','RECESSO'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;like &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39) &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATO_OUT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39) &amp;amp;', ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39)) &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(39)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sum({&amp;lt;DATA_OUT={"=Aggr(Max(DATA_OUT), MESEOUT, COD_PUNTO)"},STATO_OUT&lt;SPAN style="font-size: 10pt;"&gt;{&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 10pt;"&gt;$(=chr(39) &amp;amp; concat(distinct STATO_OUT, chr(39) &amp;amp;', ' &amp;amp; chr(39)) &amp;amp; chr(39) )&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;} &lt;/SPAN&gt; -&amp;nbsp; {'SCADENZA'}&amp;gt;} CONSUMO_TOT_ANNUO),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I hope that the Syntax is correct ( I tried it with my own set analysis and it worked)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 13:56:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107823#M509740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T13:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys take an element</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107824#M509741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry but it not worked, no rows returned&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 14:02:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107824#M509741</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-09-25T14:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys take an element</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107825#M509742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you send example qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 14:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107825#M509742</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T14:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys take an element</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107826#M509743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in this way it not work in all case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when i choose one value&lt;/P&gt;&lt;P&gt;2. when i choose the two values&lt;/P&gt;&lt;P&gt;3. when i not choose values (when i not choose values it need to show the same rows when i choose the two values)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 14:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107826#M509743</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-09-25T14:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys take an element</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107827#M509744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, i find the errror in set analisys:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;Sum({&amp;lt;DATA_OUT={"=Aggr(Max(DATA_OUT), MESEOUT, COD_PUNTO)"},STATO_OUT&lt;STRONG&gt;=&lt;/STRONG&gt;{$(=chr(39) &amp;amp; concat(distinct STATO_OUT, chr(39) &amp;amp;', ' &amp;amp; chr(39)) &amp;amp; chr(39) )} -&amp;nbsp; {'SCADENZA'}&amp;gt;} CONSUMO_TOT_ANNUO),&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this way it work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need after STATO_OUT an &lt;STRONG&gt;&lt;EM&gt;=&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 14:11:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107827#M509744</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2018-09-25T14:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys take an element</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107828#M509745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you define Expression &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;chr(39) &amp;amp; concat(distinct STATO_OUT, chr(39) &amp;amp;', ' &amp;amp; chr(39)) &amp;amp; chr(39) &lt;/EM&gt;&lt;/STRONG&gt; into as text object and see the Output. it should be like 'CESSAZIONE','RECESSO'&lt;/P&gt;&lt;P&gt;your third condition would not be fulfilled with this Expression. I would try with getselectedcount(STRATO_OUT) = 0 and do something different&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 14:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107828#M509745</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T14:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys take an element</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107829#M509746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;great, didn't see that while pasting &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 14:12:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-take-an-element/m-p/107829#M509746</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T14:12:49Z</dc:date>
    </item>
  </channel>
</rss>

