<?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: Query Error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Query-Error/m-p/311795#M708833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try aliasing the column names for with group functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SUM ( AL8.Sales_Pounds ) as Sales_Pounds, &lt;/P&gt;&lt;P&gt;SUM ( AL8.Sales_Cases ) as Sales_Cases, &lt;/P&gt;&lt;P&gt;SUM ( AL8.Product_Price_Extended ) as Product_Price_Extended,&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2011 20:05:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-11-10T20:05:42Z</dc:date>
    <item>
      <title>Query Error</title>
      <link>https://community.qlik.com/t5/QlikView/Query-Error/m-p/311794#M708832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We often model our queries using MS SQL Server Management Studio or, in this case, Oracle Interactive Reporting. The following query works fine in both of these tools but QlikView throws up an error (with no useful information). Can anyone tell me why QlikView is balking at this syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;SELECT DISTINCT &lt;/P&gt;&lt;P&gt;AL8.Bill_to_Customer_Number, &lt;/P&gt;&lt;P&gt;AL8.Ship_to_Customer_Number, &lt;/P&gt;&lt;P&gt;AL11.Customer_Name, &lt;/P&gt;&lt;P&gt;AL8.Order_Type, &lt;/P&gt;&lt;P&gt;AL8.Invoice_Date, &lt;/P&gt;&lt;P&gt;AL8.Sales_Order_Number, &lt;/P&gt;&lt;P&gt;AL8.Customer_PO, &lt;/P&gt;&lt;P&gt;SUM ( AL8.Sales_Pounds ), &lt;/P&gt;&lt;P&gt;SUM ( AL8.Sales_Cases ), &lt;/P&gt;&lt;P&gt;SUM ( AL8.Product_Price_Extended ), &lt;/P&gt;&lt;P&gt;AL13.OA_Number &lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;dbo.Customer_Master AL11, &lt;/P&gt;&lt;P&gt;dbo.Monthly_Calendar AL12, &lt;/P&gt;&lt;P&gt;dbo.Sales_Detail AL8 LEFT OUTER JOIN dbo.IOS_Sales_Order AL13 ON (AL8.Sales_Order_Number=AL13.Sales_Order_Number AND AL8.Customer_PO=AL13.Customer_PO AND AL8.Order_Type=AL13.Order_Type) &lt;/P&gt;&lt;P&gt;WHERE (AL8.Ship_to_Customer_Number=AL11.Customer_Number &lt;/P&gt;&lt;P&gt;AND AL8.Fiscal_Period_Date=AL12.Fiscal_Period_Date)&amp;nbsp; &lt;/P&gt;&lt;P&gt;AND ((AL12.Fiscal_Period_Relative&amp;gt;=-6 &lt;/P&gt;&lt;P&gt;AND AL8.Bill_to_Customer_Number IN (760, 773, 774, 797))) &lt;/P&gt;&lt;P&gt;GROUP BY AL8.Bill_to_Customer_Number, AL8.Ship_to_Customer_Number, AL11.Customer_Name, AL8.Order_Type, AL8.Invoice_Date, AL8.Sales_Order_Number, AL8.Customer_PO, AL13.OA_Number&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 19:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-Error/m-p/311794#M708832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-10T19:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query Error</title>
      <link>https://community.qlik.com/t5/QlikView/Query-Error/m-p/311795#M708833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try aliasing the column names for with group functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;SUM ( AL8.Sales_Pounds ) as Sales_Pounds, &lt;/P&gt;&lt;P&gt;SUM ( AL8.Sales_Cases ) as Sales_Cases, &lt;/P&gt;&lt;P&gt;SUM ( AL8.Product_Price_Extended ) as Product_Price_Extended,&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-Error/m-p/311795#M708833</guid>
      <dc:creator />
      <dc:date>2011-11-10T20:05:42Z</dc:date>
    </item>
    <item>
      <title>Query Error</title>
      <link>https://community.qlik.com/t5/QlikView/Query-Error/m-p/311796#M708834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 20:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Query-Error/m-p/311796#M708834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-11-10T20:08:20Z</dc:date>
    </item>
  </channel>
</rss>

