<?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 set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639328#M732396</link>
    <description>&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;but i have to bring the solution through expression.&lt;/P&gt;&lt;P&gt;i cannot do the changes in script as my fields are segregated in different tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please help me with an expression to get the result&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 07:43:35 GMT</pubDate>
    <dc:creator>prrajendran</dc:creator>
    <dc:date>2019-10-24T07:43:35Z</dc:date>
    <item>
      <title>aggregation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1638893#M732394</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 in the excel sheet attached&lt;/STRONG&gt;&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:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;15 Min Intervals&lt;/TD&gt;&lt;TD&gt;Single&lt;/TD&gt;&lt;TD&gt;Double&lt;/TD&gt;&lt;TD&gt;Triple&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;00:00:00&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;00:15:00&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;00:30:00&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;01:15:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;01:30:00&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;01:45:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;06:00:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;06:15:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/10/2019&lt;/TD&gt;&lt;TD&gt;12:00:00&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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 19:50:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1638893#M732394</guid>
      <dc:creator>prrajendran</dc:creator>
      <dc:date>2024-11-16T19:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639322#M732395</link>
      <description>&lt;P&gt;There you go:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MC.PNG" style="width: 505px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22271i079EF0FD340F852C/image-size/large?v=v2&amp;amp;px=999" role="button" title="MC.PNG" alt="MC.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Create your logic at script level:&lt;/P&gt;&lt;P&gt;Aggregate your table by [Product No], then create link key using [Date] and [15 Min Intervals].&lt;/P&gt;&lt;P&gt;Use the new count column from the aggregated table above at front end with set analysis to filter count by 1,2,3.&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Arthur Fong&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 07:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639322#M732395</guid>
      <dc:creator>Arthur_Fong</dc:creator>
      <dc:date>2019-10-24T07:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639328#M732396</link>
      <description>&lt;P&gt;Hi Arthur,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;but i have to bring the solution through expression.&lt;/P&gt;&lt;P&gt;i cannot do the changes in script as my fields are segregated in different tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please help me with an expression to get the result&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 07:43:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639328#M732396</guid>
      <dc:creator>prrajendran</dc:creator>
      <dc:date>2019-10-24T07:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639334#M732397</link>
      <description>&lt;P&gt;Try the below expressions:&lt;/P&gt;&lt;P&gt;Single:&lt;/P&gt;&lt;P&gt;Count(if([Product Details]&amp;lt;&amp;gt;'N/A' and Aggr(count(if([Product Details]&amp;lt;&amp;gt;'N/A',[Product No])),Date,[15 Min Intervals],[Product No])=&lt;STRONG&gt;1&lt;/STRONG&gt;,[Product No]))&lt;/P&gt;&lt;P&gt;Double:&lt;/P&gt;&lt;P&gt;Count(if([Product Details]&amp;lt;&amp;gt;'N/A' and Aggr(count(if([Product Details]&amp;lt;&amp;gt;'N/A',[Product No])),Date,[15 Min Intervals],[Product No])=&lt;STRONG&gt;2&lt;/STRONG&gt;,[Product No]))&lt;/P&gt;&lt;P&gt;Triple:&lt;/P&gt;&lt;P&gt;Count(if([Product Details]&amp;lt;&amp;gt;'N/A' and Aggr(count(if([Product Details]&amp;lt;&amp;gt;'N/A',[Product No])),Date,[15 Min Intervals],[Product No])=&lt;STRONG&gt;3&lt;/STRONG&gt;,[Product No]))&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 08:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639334#M732397</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-10-24T08:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639414#M732398</link>
      <description>&lt;P&gt;thank you so much for your help arthur&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 10:31:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639414#M732398</guid>
      <dc:creator>prrajendran</dc:creator>
      <dc:date>2019-10-24T10:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: aggregation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639415#M732399</link>
      <description>&lt;P&gt;Thank you so much for your help tresesco&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 10:35:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggregation-in-set-analysis/m-p/1639415#M732399</guid>
      <dc:creator>prrajendran</dc:creator>
      <dc:date>2019-10-24T10:35:54Z</dc:date>
    </item>
  </channel>
</rss>

