<?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 Can the formula (count when one of the conditions is met) not use the aggr function? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-the-formula-count-when-one-of-the-conditions-is-met-not-use/m-p/1753978#M718698</link>
    <description>&lt;P&gt;The formula is as follows, Stores that meet either SO_Qty&amp;gt;0 or SOH_Qty&amp;gt;0 are counted:&lt;/P&gt;&lt;P&gt;count(distinct AGGR(IF(SUM(SO_Qty)&amp;gt;0 or SUM(SOH_Qty)&amp;gt;0,Store_Name,),Store_Name))&lt;/P&gt;&lt;P&gt;Are there other formulas that can be written without the aggr function?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Nora104</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Can the formula (count when one of the conditions is met) not use the aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-the-formula-count-when-one-of-the-conditions-is-met-not-use/m-p/1753978#M718698</link>
      <description>&lt;P&gt;The formula is as follows, Stores that meet either SO_Qty&amp;gt;0 or SOH_Qty&amp;gt;0 are counted:&lt;/P&gt;&lt;P&gt;count(distinct AGGR(IF(SUM(SO_Qty)&amp;gt;0 or SUM(SOH_Qty)&amp;gt;0,Store_Name,),Store_Name))&lt;/P&gt;&lt;P&gt;Are there other formulas that can be written without the aggr function?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-the-formula-count-when-one-of-the-conditions-is-met-not-use/m-p/1753978#M718698</guid>
      <dc:creator>Nora104</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can the formula (count when one of the conditions is met) not use the aggr function?</title>
      <link>https://community.qlik.com/t5/QlikView/Can-the-formula-count-when-one-of-the-conditions-is-met-not-use/m-p/1753989#M718699</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/118746"&gt;@Nora104&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;StoreName= {"=&lt;SPAN&gt;SUM(SO_Qty)&amp;gt;0 or SUM(SOH_Qty)&amp;gt;0&lt;/SPAN&gt;"}&amp;gt;}DISTINCT StoreName)&lt;BR /&gt;&lt;BR /&gt;and also, you can reduce your formula like below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum(AGGR(IF(SUM(SO_Qty)&amp;gt;0 or SUM(SOH_Qty)&amp;gt;0,1),Store_Name))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 08:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-the-formula-count-when-one-of-the-conditions-is-met-not-use/m-p/1753989#M718699</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2020-10-20T08:39:41Z</dc:date>
    </item>
  </channel>
</rss>

