<?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: sum in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307070#M833879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression brings all the values. I need to exclude only those values that have Status=Sold &lt;STRONG&gt;and&lt;/STRONG&gt; IDfact null&lt;/P&gt;&lt;P&gt;The condition must be something like that:&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;(Status = {'Active'} ) or (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Status='Sold' &lt;STRONG&gt;and&lt;/STRONG&gt; IDFact not NULL&lt;/SPAN&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;In the end I found&amp;nbsp; that this works&lt;/P&gt;&lt;P&gt;sum({&amp;lt;IDFact={"=len(trim(IDFact))&amp;gt;0"}&amp;gt; * &amp;lt;Status={'Sold'}&amp;gt;+&amp;lt;Status={'Active'}&amp;gt;} Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Jun 2017 19:07:16 GMT</pubDate>
    <dc:creator>bilionut</dc:creator>
    <dc:date>2017-06-03T19:07:16Z</dc:date>
    <item>
      <title>sum in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307067#M833876</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 to sum all the values with Satus = 'Active' and those with Status='Sold' and IDFact not NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;Inline [&lt;/P&gt;&lt;P&gt;Dim,IDFact,Value,Status&lt;/P&gt;&lt;P&gt;AA,1,10,Active&lt;/P&gt;&lt;P&gt;BB,,20,Active&lt;/P&gt;&lt;P&gt;CC,,30,Sold&lt;/P&gt;&lt;P&gt;DD,4,40,Sold&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do that in Set Analysis?&lt;/P&gt;&lt;P&gt;Tanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307067#M833876</guid>
      <dc:creator>bilionut</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: sum in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307068#M833877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;May be something like this &lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;Status = {'Active','Sold'}, idFact ={"=len(trim(IDFact))&amp;gt;0"} &amp;gt;}Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 18:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307068#M833877</guid>
      <dc:creator>vhespinog</dc:creator>
      <dc:date>2017-06-03T18:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: sum in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307069#M833878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;References&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.analyticsvidhya.com/blog/2014/01/set-analysis-qlikview/" title="https://www.analyticsvidhya.com/blog/2014/01/set-analysis-qlikview/"&gt;https://www.analyticsvidhya.com/blog/2014/01/set-analysis-qlikview/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 18:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307069#M833878</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-03T18:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: sum in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307070#M833879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your expression brings all the values. I need to exclude only those values that have Status=Sold &lt;STRONG&gt;and&lt;/STRONG&gt; IDfact null&lt;/P&gt;&lt;P&gt;The condition must be something like that:&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;(Status = {'Active'} ) or (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Status='Sold' &lt;STRONG&gt;and&lt;/STRONG&gt; IDFact not NULL&lt;/SPAN&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;In the end I found&amp;nbsp; that this works&lt;/P&gt;&lt;P&gt;sum({&amp;lt;IDFact={"=len(trim(IDFact))&amp;gt;0"}&amp;gt; * &amp;lt;Status={'Sold'}&amp;gt;+&amp;lt;Status={'Active'}&amp;gt;} Value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 19:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307070#M833879</guid>
      <dc:creator>bilionut</dc:creator>
      <dc:date>2017-06-03T19:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: sum in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307071#M833882</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;It is possible to be something like below&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;Status = {'Active','Sold'}, idFact ={"=len(trim(IDFact))&amp;gt;0 &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;and &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;EM&gt;len(trim(IDFact))&amp;lt;5&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;"} &amp;gt;}Value)&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;Best 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;"&gt;Louis&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2018 04:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-in-Set-Analysis/m-p/1307071#M833882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-23T04:03:12Z</dc:date>
    </item>
  </channel>
</rss>

