<?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 Invalid Expression error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Invalid-Expression-error/m-p/293102#M108766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any ideas why im getting an error? syntax looks ok to me... thanks&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Expected&lt;/EM&gt;:&lt;BR /&gt;NOCONCATENATE LOAD&lt;BR /&gt;order_no as po_no,&lt;BR /&gt;min(expected_date) as min_expected_date,&lt;BR /&gt;if(max_date_received &amp;gt; expected_date, inv_order_no) as lateOrders&lt;BR /&gt;RESIDENT opdetm&lt;BR /&gt;GROUP BY order_no;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 09:29:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-20T09:29:35Z</dc:date>
    <item>
      <title>Invalid Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Expression-error/m-p/293102#M108766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any ideas why im getting an error? syntax looks ok to me... thanks&lt;/P&gt;&lt;DIV class="mcePaste" id="_mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Expected&lt;/EM&gt;:&lt;BR /&gt;NOCONCATENATE LOAD&lt;BR /&gt;order_no as po_no,&lt;BR /&gt;min(expected_date) as min_expected_date,&lt;BR /&gt;if(max_date_received &amp;gt; expected_date, inv_order_no) as lateOrders&lt;BR /&gt;RESIDENT opdetm&lt;BR /&gt;GROUP BY order_no;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 09:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Expression-error/m-p/293102#M108766</guid>
      <dc:creator />
      <dc:date>2011-07-20T09:29:35Z</dc:date>
    </item>
    <item>
      <title>Invalid Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Expression-error/m-p/293103#M108767</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;&amp;nbsp;&amp;nbsp; You missed one more field in group by condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 12px;"&gt;Expected&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;NOCONCATENATE LOAD&lt;/P&gt;&lt;P&gt;order_no as po_no,&lt;/P&gt;&lt;P&gt;min(expected_date) as min_expected_date,&lt;/P&gt;&lt;P&gt;if(max_date_received &amp;gt; expected_date, inv_order_no) as lateOrders&lt;/P&gt;&lt;P&gt;RESIDENT opdetm&lt;/P&gt;&lt;P&gt;GROUP BY order_no,if(max_date_received &amp;gt; expected_date, inv_order_no);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 09:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Expression-error/m-p/293103#M108767</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-07-20T09:39:17Z</dc:date>
    </item>
    <item>
      <title>Invalid Expression error</title>
      <link>https://community.qlik.com/t5/QlikView/Invalid-Expression-error/m-p/293104#M108768</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;you are using a group by command so any fields not referred to in the group by area will have to have an aggregation function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;min(expected_date) is ok but the following line wont work as neither max_date_recieved nor expected_date have an aggregation function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your query is basically bringing back one line per order_no but it would appear that you would want one line per lateOrder is that right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 09:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Invalid-Expression-error/m-p/293104#M108768</guid>
      <dc:creator>pat_agen</dc:creator>
      <dc:date>2011-07-20T09:49:07Z</dc:date>
    </item>
  </channel>
</rss>

