<?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 load date values and max(date) as columns in editscript gives Invalid expression? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11944#M1939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;error description:Invalid expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ProductDates:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Max(Dates))as MaxDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Dates as allDates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[..\Data Files\Excel\ProducSoldDates.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant we define script in this way, why is it failing to load as columns?&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 05:15:57 GMT</pubDate>
    <dc:creator>vinay1233</dc:creator>
    <dc:date>2018-06-12T05:15:57Z</dc:date>
    <item>
      <title>load date values and max(date) as columns in editscript gives Invalid expression?</title>
      <link>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11944#M1939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;error description:Invalid expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ProductDates:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Max(Dates))as MaxDate,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Dates as allDates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[..\Data Files\Excel\ProducSoldDates.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cant we define script in this way, why is it failing to load as columns?&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 05:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11944#M1939</guid>
      <dc:creator>vinay1233</dc:creator>
      <dc:date>2018-06-12T05:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: load date values and max(date) as columns in editscript gives Invalid expression?</title>
      <link>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11945#M1940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ProductDates:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Dates as allDates&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[..\Data Files\Excel\ProducSoldDates.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join (ProductDates)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Max(Dates) as MaxDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Resident ProductDates;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 16:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11945#M1940</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-12T16:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: load date values and max(date) as columns in editscript gives Invalid expression?</title>
      <link>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11946#M1941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;thanks, can you explain the actual problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 09:42:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11946#M1941</guid>
      <dc:creator>vinay1233</dc:creator>
      <dc:date>2018-06-13T09:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: load date values and max(date) as columns in editscript gives Invalid expression?</title>
      <link>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11947#M1942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;cannot&lt;/STRONG&gt;&lt;/SPAN&gt; load Max(Dates) and Dates in a same table... because when you use an aggregation function such as Sum, Max, Min... etc... you need a Group By statement which include non-aggregating fields.... if you add Group By Dates... then Max(Dates) will essentially show the same Date for each Date &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why you need to divide it into two pieces....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 11:07:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-date-values-and-max-date-as-columns-in-editscript-gives/m-p/11947#M1942</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-06-13T11:07:06Z</dc:date>
    </item>
  </channel>
</rss>

