<?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: Sum and Group by in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565226#M680848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to include all the field in the Group by that you use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CustomerMonthlySales:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Customer Number],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[VE Posting Year] AS SalesYear,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[VE Posting Month] AS SalesMonth,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM([Sales Amount (Actual)]) AS MonthlySales&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Fact Group BY&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Customer Number],&lt;/SPAN&gt;[VE Posting Year],[VE Posting Month];&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2014 11:14:59 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-10-30T11:14:59Z</dc:date>
    <item>
      <title>Sum and Group by</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565223#M680842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am very new in Qlikview development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to do a 'Group by' based on [sales year] and [sales month] to find the monthly Sales of each customer in Script.&lt;/P&gt;&lt;P&gt;But I am getting &lt;SPAN style="color: #ffff00;"&gt;&lt;EM&gt;&lt;STRONG style="color: #ff0000;"&gt;'Invalid expression' &lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt;error on following script.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CustomerMonthlySales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[Customer Number],&lt;/P&gt;&lt;P&gt;[VE Posting Year] AS SalesYear, &lt;/P&gt;&lt;P&gt;[VE Posting Month] AS SalesMonth,&lt;/P&gt;&lt;P&gt;SUM([Sales Amount (Actual)]) AS MonthlySales&lt;/P&gt;&lt;P&gt;Resident Fact Group BY [VE Posting Year],[VE Posting Month]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 11:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565223#M680842</guid>
      <dc:creator />
      <dc:date>2014-04-11T11:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and Group by</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565224#M680844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, You need put all field without agregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13972158901349394" jivemacro_uid="_13972158901349394"&gt;
&lt;P&gt;CustomerMonthlySales:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;[Customer Number],&lt;/P&gt;
&lt;P&gt;[VE Posting Year] AS SalesYear, &lt;/P&gt;
&lt;P&gt;[VE Posting Month] AS SalesMonth,&lt;/P&gt;
&lt;P&gt;SUM([Sales Amount (Actual)]) AS MonthlySales&lt;/P&gt;
&lt;P&gt;Resident Fact &lt;/P&gt;
&lt;P&gt;Group BY [Customer Number],[VE Posting Year],[VE Posting Month];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Tonial.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 11:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565224#M680844</guid>
      <dc:creator>fernando_tonial</dc:creator>
      <dc:date>2014-04-11T11:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and Group by</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565225#M680846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Tonial. That's worked....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 11:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565225#M680846</guid>
      <dc:creator />
      <dc:date>2014-04-11T11:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and Group by</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565226#M680848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to include all the field in the Group by that you use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CustomerMonthlySales:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Customer Number],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[VE Posting Year] AS SalesYear,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[VE Posting Month] AS SalesMonth,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM([Sales Amount (Actual)]) AS MonthlySales&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Fact Group BY&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Customer Number],&lt;/SPAN&gt;[VE Posting Year],[VE Posting Month];&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:14:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565226#M680848</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-30T11:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum and Group by</title>
      <link>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565227#M680850</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;If you need to omit group by then below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CustomerMonthlySales:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Customer Number],&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;only([VE Posting Year]) AS SalesYear,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;only([VE Posting Month]) AS SalesMonth,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SUM([Sales Amount (Actual)]) AS MonthlySales&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident Fact Group BY&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[Customer Number]&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 11:19:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sum-and-Group-by/m-p/565227#M680850</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-10-30T11:19:40Z</dc:date>
    </item>
  </channel>
</rss>

