<?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: Syntax in expression error: Resident and Preceding load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835962#M653578</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load ID, B1, B2, Sum(U1) as FirstSum, Sum(U2) as SecondSum&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Group By ID, B1, B2;&amp;nbsp; // Group by should have all non agreegated fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load ID, Barcode1 as B1, Barcode2 as B2, Units1 as U1, Units2 as U2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2015 23:50:40 GMT</pubDate>
    <dc:creator>prabhu0505</dc:creator>
    <dc:date>2015-07-08T23:50:40Z</dc:date>
    <item>
      <title>Syntax in expression error: Resident and Preceding load</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835960#M653574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im trying to fetch ID, Barcode1, Barcode2,Units1, Units2 from Table1 and do the following operation.&lt;/P&gt;&lt;P&gt;But getting the error: "Syntax error in Expression"&lt;/P&gt;&lt;P&gt;Please lemme knw if there is any mistake i'm doing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load ID, B1, B2, Sum(U1) as FirstSum, Sum(U2) as SecondSum&lt;/P&gt;&lt;P&gt;Group By SKU#;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load ID, Barcode1 as B1, Barcode2 as B2, Units1 as U1, Units2 as U2&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 23:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835960#M653574</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-07-08T23:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax in expression error: Resident and Preceding load</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835961#M653576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your aggregation field in the GROUP BY clause is SKU# and no other fields than the aggregation fields may be used outside aggregation functions in the loaded expressions. Hence you'll either need to add ID, B1, B2 to the aggregation fields in the clause or embed these in aggregation functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 23:49:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835961#M653576</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-07-08T23:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax in expression error: Resident and Preceding load</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835962#M653578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load ID, B1, B2, Sum(U1) as FirstSum, Sum(U2) as SecondSum&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Group By ID, B1, B2;&amp;nbsp; // Group by should have all non agreegated fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load ID, Barcode1 as B1, Barcode2 as B2, Units1 as U1, Units2 as U2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2015 23:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835962#M653578</guid>
      <dc:creator>prabhu0505</dc:creator>
      <dc:date>2015-07-08T23:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax in expression error: Resident and Preceding load</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835963#M653579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your script SKU# is not present in the table 1. If you have that in your actual table and you want to group by values over it, then use appropriate aggregation function for ID, B1 and B2 also (If it make sense :-)). Something similar to below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SKU#,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Min(ID) as ID&lt;/P&gt;&lt;P&gt;,Min(B1) as B1&lt;/P&gt;&lt;P&gt;,Min(B2) as B2&lt;/P&gt;&lt;P&gt;,Sum(U1) as FirstSum,&lt;/P&gt;&lt;P&gt;Sum(U2) as SecondSum&lt;/P&gt;&lt;P&gt;Group By SKU#; &lt;/P&gt;&lt;P&gt;Load ID, Barcode1 as B1, Barcode2 as B2, Units1 as U1, Units2 as U2, &lt;STRONG&gt;SKU#&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Resident&lt;/P&gt;&lt;P&gt;Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KKR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 01:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835963#M653579</guid>
      <dc:creator />
      <dc:date>2015-07-09T01:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax in expression error: Resident and Preceding load</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835964#M653580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saravana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it.&lt;/P&gt;&lt;P&gt;thanq very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2015 01:26:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835964#M653580</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-07-09T01:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax in expression error: Resident and Preceding load</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835965#M653581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kranthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was Group by ID; &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, 09 Jul 2015 01:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-in-expression-error-Resident-and-Preceding-load/m-p/835965#M653581</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2015-07-09T01:27:05Z</dc:date>
    </item>
  </channel>
</rss>

