<?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: Help with Aggr() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Aggr/m-p/124999#M759569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(&lt;SPAN style="color: #ff0000;"&gt;Customer.Mth_Year&lt;/SPAN&gt; = Min({&amp;lt;Customer.QTR=,Customer.Month=, Customer.Year&amp;gt;}TOTAL &amp;lt;[Direct/Indirect Customer Name],[Direct/Indirect],[Service Class],[Service Group]&amp;gt; &lt;SPAN style="color: #ff0000;"&gt;Customer.Mth_Year&lt;/SPAN&gt;), 1, 0),[Direct/Indirect],[Service Class],[Service Group],[Direct/Indirect Customer Name], &lt;STRONG style="color: #ff0000;"&gt;Customer.Mth_Year&lt;/STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2018 17:10:26 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-08-27T17:10:26Z</dc:date>
    <item>
      <title>Help with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Aggr/m-p/124998#M759568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I'm trying to get the count of new customers YoY using a pivot table. The expression works fine when no selections are made. But when selections are made based on Quarter within the same year, the result varies hence duplicating the count.&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;E.g.: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Customer 17 with Item 4666ZWJWWNB3DDZ is a new Customer in Q2, 2018. But when I select Q3 it still shows up as new customer and duplicates new customer count by Quarter.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="Image1.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/211872_Image1.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;IMG alt="Image2.JPG" class="jive-image" src="https://community.qlik.com/legacyfs/online/211873_Image2.JPG" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Any help is appreciated.&lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;Thanks,&lt;/SPAN&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;Sangeetha&lt;BR /&gt;&lt;/SPAN&gt;&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/Help-with-Aggr/m-p/124998#M759568</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Aggr/m-p/124999#M759569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(If(&lt;SPAN style="color: #ff0000;"&gt;Customer.Mth_Year&lt;/SPAN&gt; = Min({&amp;lt;Customer.QTR=,Customer.Month=, Customer.Year&amp;gt;}TOTAL &amp;lt;[Direct/Indirect Customer Name],[Direct/Indirect],[Service Class],[Service Group]&amp;gt; &lt;SPAN style="color: #ff0000;"&gt;Customer.Mth_Year&lt;/SPAN&gt;), 1, 0),[Direct/Indirect],[Service Class],[Service Group],[Direct/Indirect Customer Name], &lt;STRONG style="color: #ff0000;"&gt;Customer.Mth_Year&lt;/STRONG&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 17:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Aggr/m-p/124999#M759569</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-27T17:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Aggr()</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Aggr/m-p/125000#M759570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working fine now. Thanks a lot. I really appreciate it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 17:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Aggr/m-p/125000#M759570</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2018-08-27T17:44:59Z</dc:date>
    </item>
  </channel>
</rss>

