<?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 QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789541#M279202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoranjan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you do a search on the community, you will find this question has been asked and answered a number of times&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Search.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76577_Search.png" style="width: 620px; height: 191px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you'll also find the QV reference manual has an explanation of this too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2015 12:00:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-01-29T12:00:35Z</dc:date>
    <item>
      <title>group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789539#M279200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain group by function in qlikview. since i'm beginner &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 11:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789539#M279200</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2015-01-29T11:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789540#M279201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with example data of two fields grouped&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 11:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789540#M279201</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2015-01-29T11:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789541#M279202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manoranjan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you do a search on the community, you will find this question has been asked and answered a number of times&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Search.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/76577_Search.png" style="width: 620px; height: 191px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you'll also find the QV reference manual has an explanation of this too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789541#M279202</guid>
      <dc:creator />
      <dc:date>2015-01-29T12:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789542#M279203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;directly from help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;group by&lt;/SPAN&gt; is a clause used for aggregating (group) several records into one. Within one group, for a certain field, all the records must either have the same value, or the field can only be used from within an expression, e.g. as a sum or an average. The expression based on one or several fields is defined in the expression of the field symbol. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789542#M279203</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-29T12:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789543#M279204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Tab1:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Select * from Trans;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Load&lt;/DIV&gt;&lt;DIV&gt;Month&lt;/DIV&gt;&lt;DIV&gt;, Sum(Sales)&lt;/DIV&gt;&lt;DIV&gt;resident Tab1&lt;/DIV&gt;&lt;DIV&gt; group by Month;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Courier-Bold; font-size: 8pt;"&gt;You must not include anything that's not aggregated, as in anything not wrapped in SUM, COUNT, AVG, E.T.C&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Courier-Bold; font-size: 8pt;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: Courier-Bold; font-size: 8pt;"&gt;Gabriel&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:10:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789543#M279204</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-01-29T12:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789544#M279205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are referring to GROUP&amp;nbsp; BY function from Load statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add this into Edit Script window and Reload:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;UID,ID,NULLCOLUMN,DATE,DATE-1workday&lt;/P&gt;&lt;P&gt;1,1,a,11-12-2013,10-12-2013&lt;/P&gt;&lt;P&gt;2,1,,15-11-2013,14-11-2013&lt;/P&gt;&lt;P&gt;3,1,b,07-10-2014,06-10-2014&lt;/P&gt;&lt;P&gt;4,2,,23-11-2012,21-11-2012&lt;/P&gt;&lt;P&gt;5,2,0,07-07-2012,06-07-2012&lt;/P&gt;&lt;P&gt;6,3,0,14-01-2015,13-01-2015&lt;/P&gt;&lt;P&gt;7,4,0,30-08-2014,27-08-2014&lt;/P&gt;&lt;P&gt;8,4,0,15-05-2013,14-05-2013&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;ID as ID2, count(UID) as IID&lt;/P&gt;&lt;P&gt;resident Table1&lt;/P&gt;&lt;P&gt;GROUP BY ID,UID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:15:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789544#M279205</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-01-29T12:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789545#M279206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;The GROUP BY statement is used in conjunction with the aggregate functions to group the Data by one or more columns.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Ex:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;STRONG style="mso-fareast-language: EN-GB; color: blue; font-size: 8pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 8pt; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: EN-GB;"&gt;&lt;SPAN style="color: #000000;"&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;A&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;B&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;B&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;, &lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;Max&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;D&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; on&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;From&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; Table&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; Group by A,D;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Fields used in aggregations should not be used in same statement again else users will get invalid expression You must not include fields aggregate in group by.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: 7.1pt;"&gt;&lt;SPAN style="mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Try to avoid fields in load statement which are not included in group by &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 10pt; line-height: normal; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"&gt;&lt;SPAN style="mso-fareast-language: EN-GB; color: #000000; font-size: 12pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman';"&gt;Neetha&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:21:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789545#M279206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-29T12:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789546#M279207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Understood and practiced with example data.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 15:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789546#M279207</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2015-01-29T15:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789547#M279208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 15:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789547#M279208</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2015-01-29T15:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: group by</title>
      <link>https://community.qlik.com/t5/QlikView/group-by/m-p/789548#M279209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly mark Answer or helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 15:31:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/group-by/m-p/789548#M279209</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-01-29T15:31:13Z</dc:date>
    </item>
  </channel>
</rss>

