<?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: aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggregation/m-p/1638961#M732382</link>
    <description>&lt;P&gt;someone please help me with the expression&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 12:21:42 GMT</pubDate>
    <dc:creator>prrajendran</dc:creator>
    <dc:date>2019-10-23T12:21:42Z</dc:date>
    <item>
      <title>aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation/m-p/1638908#M732381</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;i have a table with Date, 15 Min Interval time, product no, ID &amp;amp; Name in my qvw.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample Input data in excel sheet attached :&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have to provide a grouped result for a day at 15 min intervals like below. i have to find how many singles, doubles &amp;amp; triples in a day&lt;/P&gt;&lt;P&gt;But i have to exclude 'N/A' in the 'Product Details' field for my grouped result.&lt;/P&gt;&lt;P&gt;Each Product No will have multiple Product details associated with it. for example, in the above table, for 09/10/2019 at 12:00:00, there are 3 products with the same product no. so my result for 12:00:00 should be&lt;/P&gt;&lt;P&gt;09/10/2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12:00:00&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 (Triple)&lt;/P&gt;&lt;P&gt;similarly, at 00:30:00, 3 products with product no SA711, but 2 of them shows N/A in product details. so i have to exclude that 2. my result at 00:30:00 should be&lt;/P&gt;&lt;P&gt;09/10/2019&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00:30:00&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1(Single)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so My entire output for the above table should be like the one in the attached file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the input and output data in excel.&lt;/P&gt;&lt;P&gt;Can you please help me with the expression to get this result?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:08:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation/m-p/1638908#M732381</guid>
      <dc:creator>prrajendran</dc:creator>
      <dc:date>2024-11-16T02:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation/m-p/1638961#M732382</link>
      <description>&lt;P&gt;someone please help me with the expression&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 12:21:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation/m-p/1638961#M732382</guid>
      <dc:creator>prrajendran</dc:creator>
      <dc:date>2019-10-23T12:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation/m-p/1640293#M732383</link>
      <description>&lt;P&gt;For a chart expression solution, you can try something like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-10-28 11_33_09-QlikView x64 - [E__Users_Stefan_Documents_comm1638908.qvw_].png" style="width: 513px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22430iCF2A131F77EDF2C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-10-28 11_33_09-QlikView x64 - [E__Users_Stefan_Documents_comm1638908.qvw_].png" alt="2019-10-28 11_33_09-QlikView x64 - [E__Users_Stefan_Documents_comm1638908.qvw_].png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;With expressions:&lt;/P&gt;&lt;P&gt;Single:&lt;/P&gt;&lt;P&gt;=Sum( Aggr(If(Count({&amp;lt;[Product Details] -= {'N/A'}&amp;gt;} [Product Details])=1,1), Date, [15 Min Intervals], [Product No]))&lt;/P&gt;&lt;P&gt;Double:&lt;/P&gt;&lt;P&gt;Sum( Aggr(If(Count({&amp;lt;[Product Details] -= {'N/A'}&amp;gt;} [Product Details])=2,1), Date, [15 Min Intervals], [Product No]))&lt;/P&gt;&lt;P&gt;Triple:&lt;/P&gt;&lt;P&gt;Sum( Aggr(If(Count({&amp;lt;[Product Details] -= {'N/A'}&amp;gt;} [Product Details])=3,1), Date, [15 Min Intervals], [Product No]))&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 10:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation/m-p/1640293#M732383</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2019-10-28T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation/m-p/1640929#M732384</link>
      <description>&lt;P&gt;Thank you so much swuehl&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 16:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation/m-p/1640929#M732384</guid>
      <dc:creator>prrajendran</dc:creator>
      <dc:date>2019-10-29T16:19:12Z</dc:date>
    </item>
  </channel>
</rss>

