<?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 SUM After Distinct Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SUM-After-Distinct-Count/m-p/672452#M1063815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;In My Qv&amp;nbsp; we create pivot dimension field is state,DistributorCode,RetailerCode,brand and expression field is count(distinct brand) when we expend brand level then give right answer which we want and when we collapse state level then also distinct count but we want when we collapse state level then distinct count only retailercode level after that it sum that count how to possible please help ..&lt;/P&gt;&lt;P&gt;for refrence attach qv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 02:08:23 GMT</pubDate>
    <dc:creator>vijayit43</dc:creator>
    <dc:date>2014-09-11T02:08:23Z</dc:date>
    <item>
      <title>SUM After Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-After-Distinct-Count/m-p/672452#M1063815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;In My Qv&amp;nbsp; we create pivot dimension field is state,DistributorCode,RetailerCode,brand and expression field is count(distinct brand) when we expend brand level then give right answer which we want and when we collapse state level then also distinct count but we want when we collapse state level then distinct count only retailercode level after that it sum that count how to possible please help ..&lt;/P&gt;&lt;P&gt;for refrence attach qv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 02:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-After-Distinct-Count/m-p/672452#M1063815</guid>
      <dc:creator>vijayit43</dc:creator>
      <dc:date>2014-09-11T02:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: SUM After Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-After-Distinct-Count/m-p/672453#M1063816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi use this exp &lt;/P&gt;&lt;P&gt;hope this helps you &lt;/P&gt;&lt;P&gt;sum(aggr(count (distinct Brand),State,DistributorCode,RetailerCode,Brand))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 02:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-After-Distinct-Count/m-p/672453#M1063816</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-09-11T02:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: SUM After Distinct Count</title>
      <link>https://community.qlik.com/t5/QlikView/SUM-After-Distinct-Count/m-p/672454#M1063817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think count (distinct RetailerCode) makes sense, you will get the required values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 03:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SUM-After-Distinct-Count/m-p/672454#M1063817</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-11T03:39:23Z</dc:date>
    </item>
  </channel>
</rss>

