<?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 Distinct Count With Agrr in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123426#M760986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Have A data from 2 Tables and&amp;nbsp; I want to use the data on a pivot chart where I Summarize it&amp;nbsp; as Show in&amp;nbsp; attached sheet Desired results. with the source data being sales details and Miner details.&lt;/P&gt;&lt;P&gt;1st requirement is to have distinct count of MinersName being affected by the Dimension =&amp;nbsp; Count(DISTINCT &lt;SPAN style="font-size: 13.3333px;"&gt;MinersName&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;2nd requirement is to have the distinct count of MinerName not being affected by Dimension Branch so that in the event where they are no sales to a branch we can still have those miners accounted for the other Dimension Which is manager without it returning a Null Value&amp;nbsp;&amp;nbsp; I have tried to use&amp;nbsp; Count( Aggr(NODISTINCT DISTINCT Only(&lt;SPAN style="font-size: 13.3333px;"&gt;MinersName&lt;/SPAN&gt;), &lt;SPAN style="font-size: 13.3333px;"&gt;MinersName&lt;/SPAN&gt; ,Manager)) but I an not getting desired results. its counting Miners with one record twice and also those without sales are having a Zero value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>ngrunoz</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Distinct Count With Agrr</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123426#M760986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Have A data from 2 Tables and&amp;nbsp; I want to use the data on a pivot chart where I Summarize it&amp;nbsp; as Show in&amp;nbsp; attached sheet Desired results. with the source data being sales details and Miner details.&lt;/P&gt;&lt;P&gt;1st requirement is to have distinct count of MinersName being affected by the Dimension =&amp;nbsp; Count(DISTINCT &lt;SPAN style="font-size: 13.3333px;"&gt;MinersName&lt;/SPAN&gt;) &lt;/P&gt;&lt;P&gt;2nd requirement is to have the distinct count of MinerName not being affected by Dimension Branch so that in the event where they are no sales to a branch we can still have those miners accounted for the other Dimension Which is manager without it returning a Null Value&amp;nbsp;&amp;nbsp; I have tried to use&amp;nbsp; Count( Aggr(NODISTINCT DISTINCT Only(&lt;SPAN style="font-size: 13.3333px;"&gt;MinersName&lt;/SPAN&gt;), &lt;SPAN style="font-size: 13.3333px;"&gt;MinersName&lt;/SPAN&gt; ,Manager)) but I an not getting desired results. its counting Miners with one record twice and also those without sales are having a Zero value&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/Distinct-Count-With-Agrr/m-p/123426#M760986</guid>
      <dc:creator>ngrunoz</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count With Agrr</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123427#M760987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(NODISTINCT Count(DISTINCT [Miner name]), Manager)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210388_Capture.PNG" style="height: 389px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 11:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123427#M760987</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-09T11:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count With Agrr</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123428#M760988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny is it possible to get 1 for each&amp;nbsp; of the record on &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Aggr(NODISTINCT Count(DISTINCT [Miner name]), Manager)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;instead of the &lt;/STRONG&gt;&lt;STRONG&gt;subtotal&lt;/STRONG&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt; and then have the correct subtotal so that in the event that I want to calculate a % and on my Selection i select a number of miners then i will be able to get a correct % only for the selected miners&amp;nbsp; not only based on the whole manager group.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 12:05:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123428#M760988</guid>
      <dc:creator>ngrunoz</dc:creator>
      <dc:date>2018-08-09T12:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count With Agrr</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123429#M760989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 2,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(NODISTINCT Count(DISTINCT [Miner name]), [Miner name]),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Dimensionality() = 1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(NODISTINCT Count(DISTINCT [Miner name]), Manager),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(TOTAL DISTINCT [Miner name])))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/210395_Capture.PNG" style="height: 317px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 12:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123429#M760989</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-09T12:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count With Agrr</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123430#M760990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny looking forward to learn much more from you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 12:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123430#M760990</guid>
      <dc:creator>ngrunoz</dc:creator>
      <dc:date>2018-08-09T12:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count With Agrr</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123431#M760991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny. I had Over looked on the SubTotal for the Branches. I would not want it to be a distinct value but to be a Sum of the distinct Value for each Branch as per Attached File.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 14:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123431#M760991</guid>
      <dc:creator>ngrunoz</dc:creator>
      <dc:date>2018-08-09T14:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count With Agrr</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123432#M760992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pivot table is acting out weird when I try to change the expressions to accomplish this... this might be a bug or intended behavior... but not really sure if it can be done...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2018 15:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123432#M760992</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-09T15:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct Count With Agrr</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123433#M760993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 06:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Count-With-Agrr/m-p/123433#M760993</guid>
      <dc:creator>ngrunoz</dc:creator>
      <dc:date>2018-08-10T06:07:29Z</dc:date>
    </item>
  </channel>
</rss>

