<?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 Problem with Group By in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203373#M60731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its always more efficient to load a qvd into memory (resident) before doing any data transformation as the data is then loaded 'optimised'.&lt;/P&gt;&lt;P&gt;Also see the pinned post ' &lt;A class="ForumNameUnRead" href="http://community.qlik.com/forums/t/15789.aspx"&gt;&lt;STRONG&gt;How to add Code to your posts&lt;/STRONG&gt;&lt;/A&gt;' which shows how to post code. Personally I just copy it into notepad then copy and paste from there.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 Sep 2010 14:02:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-19T14:02:16Z</dc:date>
    <item>
      <title>Problem with Group By</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203369#M60727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;I need to find the maximum amount of qyantity ordered for each item.&lt;/P&gt;&lt;P&gt;i tried the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;LOAD&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Item&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Quantity) &lt;B&gt;as&lt;/B&gt; MaxQty;&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;Load&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;* &lt;B&gt;From&lt;/B&gt; &lt;B&gt;&lt;I&gt;$(QvdPath)&lt;/I&gt;&lt;/B&gt;EntryTransaction.qvd (qvd) &lt;B&gt;Group&lt;/B&gt; &lt;B&gt;By&lt;/B&gt; Item; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggregation expressions required by GROUP BY clause&lt;BR /&gt;Load * From U:\QVD FILES\EntryTransaction.qvd (qvd) Group By Item&lt;/P&gt;&lt;P&gt;Any ideas ?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; and i'm getting the following error:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 08:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203369#M60727</guid>
      <dc:creator />
      <dc:date>2010-09-16T08:35:21Z</dc:date>
    </item>
    <item>
      <title>Problem with Group By</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203370#M60728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a little difficult to read your code with the spacing and comments interspersed. But it should work if you do it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;data:&lt;BR /&gt;LOAD * FROM EntryTransaction.qvd (qvd);&lt;BR /&gt;&lt;BR /&gt;data1:&lt;BR /&gt;LOAD&lt;BR /&gt; Item,&lt;BR /&gt; max(Quantity) as MaxQty&lt;BR /&gt;RESIDENT data&lt;BR /&gt;GROUP BY Item;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;You can then join data1 into data, or leave it a separate table, your choice.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 08:39:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203370#M60728</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2010-09-16T08:39:57Z</dc:date>
    </item>
    <item>
      <title>Problem with Group By</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203371#M60729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Not getting your script extract.&lt;/P&gt;&lt;P&gt;Plz share sample data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Sep 2010 08:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203371#M60729</guid>
      <dc:creator />
      <dc:date>2010-09-16T08:41:01Z</dc:date>
    </item>
    <item>
      <title>Problem with Group By</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203372#M60730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks a lot - it works!!!&lt;/P&gt;&lt;P&gt;but my question is - I can't use group by directly on the qvd? i must use it on resident ?&lt;/P&gt;&lt;P&gt;another thing - I'm sorry about how the script looks in the forum - from some reason, it doesn't copy ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Sep 2010 08:03:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203372#M60730</guid>
      <dc:creator />
      <dc:date>2010-09-19T08:03:08Z</dc:date>
    </item>
    <item>
      <title>Problem with Group By</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203373#M60731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its always more efficient to load a qvd into memory (resident) before doing any data transformation as the data is then loaded 'optimised'.&lt;/P&gt;&lt;P&gt;Also see the pinned post ' &lt;A class="ForumNameUnRead" href="http://community.qlik.com/forums/t/15789.aspx"&gt;&lt;STRONG&gt;How to add Code to your posts&lt;/STRONG&gt;&lt;/A&gt;' which shows how to post code. Personally I just copy it into notepad then copy and paste from there.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Sep 2010 14:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Group-By/m-p/203373#M60731</guid>
      <dc:creator />
      <dc:date>2010-09-19T14:02:16Z</dc:date>
    </item>
  </channel>
</rss>

