<?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: Using Max, Aggr, and Count together in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Max-Aggr-and-Count-together/m-p/1631227#M446470</link>
    <description>&lt;P&gt;How about this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT {&amp;lt;[PO#] = {"=Max(Aggr(Count(DISTINCT EDI_UPC), PO#, EDI_CARTON_NUMBER)) = 1"}&amp;gt;} [PO#])&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 03 Oct 2019 17:52:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-10-03T17:52:17Z</dc:date>
    <item>
      <title>Using Max, Aggr, and Count together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Max-Aggr-and-Count-together/m-p/1631223#M446469</link>
      <description>&lt;P&gt;Having trouble with the following expression.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=count(distinct if(max(aggr(count(distinct EDI_UPC),PO#,EDI_CARTON_NUMBER))=1,PO#))&lt;/P&gt;&lt;P&gt;I'm attempting to count the number of PO#'s that have a maximum of 1 EDI_UPC in any EDI_CARTON_NUMBER.&lt;/P&gt;&lt;P&gt;This portion of the expression is working fine:&lt;/P&gt;&lt;P&gt;=max(aggr(count(distinct EDI_UPC),PO#,EDI_CARTON_NUMBER))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Max-Aggr-and-Count-together/m-p/1631223#M446469</guid>
      <dc:creator>scott_brown</dc:creator>
      <dc:date>2024-11-16T02:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using Max, Aggr, and Count together</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Max-Aggr-and-Count-together/m-p/1631227#M446470</link>
      <description>&lt;P&gt;How about this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;=Count(DISTINCT {&amp;lt;[PO#] = {"=Max(Aggr(Count(DISTINCT EDI_UPC), PO#, EDI_CARTON_NUMBER)) = 1"}&amp;gt;} [PO#])&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 03 Oct 2019 17:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Max-Aggr-and-Count-together/m-p/1631227#M446470</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-03T17:52:17Z</dc:date>
    </item>
  </channel>
</rss>

