<?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: Group by in Qlik in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-by-in-Qlik/m-p/1648047#M447644</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Kiruthigadevi, may need to attach a sample app on this one, so folks can check out the data model and everything...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Brett&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2019 15:26:24 GMT</pubDate>
    <dc:creator>Brett_Bleess</dc:creator>
    <dc:date>2019-11-18T15:26:24Z</dc:date>
    <item>
      <title>Group by in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-in-Qlik/m-p/1646045#M447528</link>
      <description>&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;Appreciate your time. I have a fact table(weekly table with 104 weeks of data)&amp;nbsp; with below details&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Yearweek,&lt;/P&gt;&lt;P&gt;Qty,&lt;/P&gt;&lt;P&gt;Transaction,&lt;/P&gt;&lt;P&gt;UPC,&lt;/P&gt;&lt;P&gt;customer_Id&lt;/P&gt;&lt;P&gt;from 201901.qvd(qvd); // I have to load all the 104 weeks(last 2 years weeks)&lt;/P&gt;&lt;P&gt;So in the chart, I am trying to find the Transaction which has 1 Qty, Transaction which has 2 Qty&amp;nbsp; and Transaction which has 3+ Qty with the expression below&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count(Aggr(If(Sum({&amp;lt;_yearweek=[State_Current]::[_yearweek]&amp;gt;} Qty)=1, 1), Transaction))&lt;/P&gt;&lt;P&gt;Count(Aggr(If(Sum({&amp;lt;_yearweek=[State_Current]::[_yearweek]&amp;gt;} Qty)=2, 1), Transaction))&lt;/P&gt;&lt;P&gt;Count(Aggr(If(Sum({&amp;lt;_yearweek=[State_Current]::[_yearweek]&amp;gt;} Qty)&amp;gt;=3, 1), Transaction))&lt;/P&gt;&lt;P&gt;with the Yearweek as my dimension.&lt;/P&gt;&lt;P&gt;the performance is too slow in the chart when I try to select more year weeks., can we try group by in script to achieve the same?&lt;/P&gt;&lt;P&gt;could you kindly let me know your suggestions?&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 17:39:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-in-Qlik/m-p/1646045#M447528</guid>
      <dc:creator>skiruthigadevi</dc:creator>
      <dc:date>2019-11-12T17:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Group by in Qlik</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-in-Qlik/m-p/1648047#M447644</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Kiruthigadevi, may need to attach a sample app on this one, so folks can check out the data model and everything...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;BR /&gt;Brett&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 15:26:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-in-Qlik/m-p/1648047#M447644</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-18T15:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Basket Report technique</title>
      <link>https://community.qlik.com/t5/QlikView/Group-by-in-Qlik/m-p/1648698#M447685</link>
      <description>&lt;P&gt;Hello Brett,&lt;/P&gt;&lt;P&gt;Thank you, sure. Basically I am trying to do a basket analysis for transactions&amp;nbsp; in Qliksense.&lt;/P&gt;&lt;P&gt;I have my product hierarchy with 6 levels and the most granular is upc. I am using the below expression&amp;nbsp;&lt;/P&gt;&lt;P&gt;Count(Aggr(If(Sum(Qty)=1, 1), Transaction))&lt;/P&gt;&lt;P&gt;Count(Aggr(If(Sum(Qty)=2, 1), Transaction))&lt;/P&gt;&lt;P&gt;Count(Aggr(If(Sum(Qty)&amp;gt;=3, 1), Transaction))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for an alternative in the script as my data set is pretty huge&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 18:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-by-in-Qlik/m-p/1648698#M447685</guid>
      <dc:creator>skiruthigadevi</dc:creator>
      <dc:date>2019-11-19T18:47:30Z</dc:date>
    </item>
  </channel>
</rss>

