<?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 if count distinct in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-if-count-distinct/m-p/1123264#M919259</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to split the expression and check it.. then you may know which part is not working. .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 15:29:54 GMT</pubDate>
    <dc:creator>settu_periasamy</dc:creator>
    <dc:date>2016-05-11T15:29:54Z</dc:date>
    <item>
      <title>sum if count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-count-distinct/m-p/1123263#M919258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem with counting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;firstly i tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(count(distinct(id_branz))&amp;lt;=5,RoznicaWartNettoZakupu,0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shows error in expression so i tried with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(IF(Aggr(Count(DISTINCT [id_branz]),[SklepId])&amp;lt;=5,RoznicaWartNettoZakupu,0))&amp;nbsp; but shows nothing&lt;/P&gt;&lt;P&gt;&lt;IMG alt="exaaample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/124267_exaaample.png" style="height: 122px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;It's stocktaking. all i wanted to show its stocktaking in which included only few NazwaBranzy, not all&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-if-count-distinct/m-p/1123263#M919258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: sum if count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-count-distinct/m-p/1123264#M919259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to split the expression and check it.. then you may know which part is not working. .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-count-distinct/m-p/1123264#M919259</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-05-11T15:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: sum if count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-count-distinct/m-p/1123265#M919260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if(count(distinct id_branz)&amp;lt;=5,sum(RoznicaWartNettoZakupu),0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 16:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-count-distinct/m-p/1123265#M919260</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-05-11T16:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: sum if count distinct</title>
      <link>https://community.qlik.com/t5/QlikView/sum-if-count-distinct/m-p/1123266#M919261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this?&lt;/P&gt;&lt;P&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;STRONG&gt;Sum(Aggr(If(Count(DISTINCT [id_branz]) &amp;lt;= 5, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;RoznicaWartNettoZakupu, 0)&lt;/SPAN&gt;, [SklepId]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 17:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-if-count-distinct/m-p/1123266#M919261</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T17:13:25Z</dc:date>
    </item>
  </channel>
</rss>

