<?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 Analisys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154972#M503571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would get the sum of System_Net_Amount only of fields that are both in group Clienti than in group Clienti_New.&lt;/P&gt;&lt;P&gt;For example if ABC is an element of Cliente and also an element of Clienti_New, i want that his System_Net_Amount is counted, on the countrary if BCD is only a Cliente but not a Cliente_new i don't want his System_Net_Amount .&lt;/P&gt;&lt;P&gt;I hope I explained myself better,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Feb 2010 16:42:33 GMT</pubDate>
    <dc:creator>tizianacaem</dc:creator>
    <dc:date>2010-02-22T16:42:33Z</dc:date>
    <item>
      <title>Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154970#M503569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm having some problems with the syntax of a set analisys expression, someone can help me solve it?&lt;/P&gt;&lt;P&gt;I have to consider the value of System_Net_Amount of the only fields including in both groups: Clienti and Clienti_new, is correct if i write:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum ({Clienti*Clienti_new} System_Net_Amount)??&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tiziana&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 16:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154970#M503569</guid>
      <dc:creator>tizianacaem</dc:creator>
      <dc:date>2010-02-22T16:08:51Z</dc:date>
    </item>
    <item>
      <title>Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154971#M503570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tiziana,&lt;/P&gt;&lt;P&gt;If you mean you only want to sum System_Net_Amount by both fields, I'd rather use&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum(&amp;lt;Clienti, Clienti_new&amp;gt; System_Net_Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;not needing set analysis. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 16:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154971#M503570</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-02-22T16:15:58Z</dc:date>
    </item>
    <item>
      <title>Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154972#M503571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would get the sum of System_Net_Amount only of fields that are both in group Clienti than in group Clienti_New.&lt;/P&gt;&lt;P&gt;For example if ABC is an element of Cliente and also an element of Clienti_New, i want that his System_Net_Amount is counted, on the countrary if BCD is only a Cliente but not a Cliente_new i don't want his System_Net_Amount .&lt;/P&gt;&lt;P&gt;I hope I explained myself better,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 16:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154972#M503571</guid>
      <dc:creator>tizianacaem</dc:creator>
      <dc:date>2010-02-22T16:42:33Z</dc:date>
    </item>
    <item>
      <title>Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154973#M503572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then maybe what you need is SUM(IF(Cliente&amp;lt;&amp;gt;NULL AND Cliente_new&amp;lt;&amp;gt;NULL,System_Net_Amount))&lt;/P&gt;&lt;P&gt;This will give you only the sum for records where the fields Cliente and Cliente_new have a value.&lt;/P&gt;&lt;P&gt;Alternatively you could work with len(Cliente)&amp;gt;0 or similar if the above does not work for you.&lt;/P&gt;&lt;P&gt;Cheers, Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 16:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154973#M503572</guid>
      <dc:creator />
      <dc:date>2010-02-22T16:46:12Z</dc:date>
    </item>
    <item>
      <title>Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154974#M503573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean you only want to sum System_Net_Amount by both fields, then use the expression&lt;/P&gt;&lt;PRE style="margin:0px;"&gt;Sum(&amp;lt;Clienti, Clienti_new&amp;gt; System_Net_Amount)&lt;BR /&gt;&lt;BR /&gt;or if u need the value in both the columns Clienti and Clienti_new are same and those values should be summed up by using the expression&lt;BR /&gt;&lt;BR /&gt; =sum(if(a=b,c,0))&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 16:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154974#M503573</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2010-02-22T16:47:25Z</dc:date>
    </item>
    <item>
      <title>Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154975#M503574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I have understood now, there is a very interesting approach &lt;A href="http://community.qlik.com/forums/p/23950/91568.aspx" target="_blank" title="set analysis, a field equal to selection field?"&gt;here&lt;/A&gt;. Official documentation says that, anyway, you can just equal one field to another in set analysis, provided both fields cointain just a few values (below two hundred) otherwise calculations would affect performance severly. Syntax would be (for test purposes)&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Sum({&amp;lt; Clienti = Clienti_new &amp;gt;} System_Net_Amount)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;But i would give a try to the code in the mentioned post. &lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 16:53:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154975#M503574</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-02-22T16:53:10Z</dc:date>
    </item>
    <item>
      <title>Set Analisys</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154976#M503575</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;sum({$&amp;lt;Group={'Clienti'}&amp;gt; * $&amp;lt;Group={'Clienti_new'}&amp;gt;} System_Net_Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps. &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 17:05:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys/m-p/154976#M503575</guid>
      <dc:creator />
      <dc:date>2010-02-22T17:05:39Z</dc:date>
    </item>
  </channel>
</rss>

