<?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 Count if based on sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-if-based-on-sum/m-p/658540#M1085452</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 am new to QlikView and trying to solve following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the number of persons (=count(DISTINCT PersonID)) that had&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;no money at the beginning of year: Sum({&amp;lt;xDATE ={'1.1.2014'}&amp;gt;}xEUR)=0&lt;/LI&gt;&lt;LI&gt;but have it now: Sum({&amp;lt;xDATE ={'11.6.2014'}&amp;gt;}xEUR)&amp;gt;0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combing those doesn't work:&lt;/P&gt;&lt;P&gt;=COUNT(DISTINCT {&amp;lt;Sum({&amp;lt;xDATE ={'1.1.2014'}&amp;gt;}xEUR)=0 and Sum({&amp;lt;xDATE={'31.12.2013'}&amp;gt;}xEUR)&amp;gt;0&amp;gt;} PersonID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 11:02:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-06-11T11:02:25Z</dc:date>
    <item>
      <title>Count if based on sum</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-based-on-sum/m-p/658540#M1085452</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 am new to QlikView and trying to solve following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to calculate the number of persons (=count(DISTINCT PersonID)) that had&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;no money at the beginning of year: Sum({&amp;lt;xDATE ={'1.1.2014'}&amp;gt;}xEUR)=0&lt;/LI&gt;&lt;LI&gt;but have it now: Sum({&amp;lt;xDATE ={'11.6.2014'}&amp;gt;}xEUR)&amp;gt;0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combing those doesn't work:&lt;/P&gt;&lt;P&gt;=COUNT(DISTINCT {&amp;lt;Sum({&amp;lt;xDATE ={'1.1.2014'}&amp;gt;}xEUR)=0 and Sum({&amp;lt;xDATE={'31.12.2013'}&amp;gt;}xEUR)&amp;gt;0&amp;gt;} PersonID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 11:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-based-on-sum/m-p/658540#M1085452</guid>
      <dc:creator />
      <dc:date>2014-06-11T11:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Count if based on sum</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-based-on-sum/m-p/658541#M1085453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;=COUNT(DISTINCT {&amp;lt;&lt;STRONG&gt;PersonID ={&lt;/STRONG&gt;"=Sum({&amp;lt;xDATE ={'1.1.2014'}&amp;gt;}xEUR)=0 and Sum({&amp;lt;xDATE={'31.12.2013'}&amp;gt;}xEUR)&amp;gt;0 &lt;STRONG&gt;"&lt;/STRONG&gt;&amp;gt;} PersonID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 11:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-based-on-sum/m-p/658541#M1085453</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-11T11:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Count if based on sum</title>
      <link>https://community.qlik.com/t5/QlikView/Count-if-based-on-sum/m-p/658542#M1085454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! It actually makes more sense now. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2014 11:20:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-if-based-on-sum/m-p/658542#M1085454</guid>
      <dc:creator />
      <dc:date>2014-06-11T11:20:16Z</dc:date>
    </item>
  </channel>
</rss>

