<?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: Aggr Count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340884#M515444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum(Aggr(If(Count(NPI) &amp;gt;= 2, 1), FACILITY, NPI, FULL_NAME))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2017 22:27:08 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-05-12T22:27:08Z</dc:date>
    <item>
      <title>Aggr Count</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340883#M515443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The goal is to show a count of Providers with Duplicate entries (same NPI, name, specialty) at a facility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the example below, in the detailed chart, I use &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NPI&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;=2,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NPI&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;and get 262 as the numeric count of rows (as opposed to the sum of the rows). This means there are 262 providers at this facility that are duplicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a bar chart to show the total number of duplicate providers at each facility but this number is not the same. I believe I need to use an AGGR statement but I can't figure out how. The bar chat's only dimension would be facility but I still want to show the same logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not giving me what I need: &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NPI&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;=2,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FACILITY&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="5-12-2017 1-57-04 PM.jpg" class="jive-image image-1" src="/legacyfs/online/163227_5-12-2017 1-57-04 PM.jpg" style="width: 620px; height: 180px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 21:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340883#M515443</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2017-05-12T21:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Count</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340884#M515444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum(Aggr(If(Count(NPI) &amp;gt;= 2, 1), FACILITY, NPI, FULL_NAME))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 22:27:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340884#M515444</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-12T22:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Count</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340885#M515445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Long time no chat, Sunny! Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 22:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340885#M515445</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2017-05-12T22:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Count</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340886#M515446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more question... I need a count if NPI is null by Facility.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 22:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340886#M515446</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2017-05-12T22:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr Count</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340887#M515447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NullCount(NPI)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 22:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-Count/m-p/1340887#M515447</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-12T22:33:04Z</dc:date>
    </item>
  </channel>
</rss>

