<?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: Max functin not working with applymap in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905548#M314728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of mapping load, you can use Left join like below&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;&lt;EM style="font-weight: inherit; font-family: inherit; text-decoration: underline;"&gt;OderData:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD Region,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; orderdate,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; value,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; comment&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;H&gt;&lt;/H&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;(biff, embedded labels);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Left Join(&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit; text-decoration: underline;"&gt;OderData)&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit; text-decoration: underline;"&gt;Load Region,&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;max(orderdate) As &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;[Max oderdate] Resident &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit; text-decoration: underline;"&gt;OderData Group by &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit; text-decoration: underline;"&gt;Region;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2015 15:42:02 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2015-06-03T15:42:02Z</dc:date>
    <item>
      <title>Max functin not working with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905545#M314725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below sample code .But the max is not working with the applymap.Getting an error in script execution.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="text-decoration: underline;"&gt;Regiongrouping&lt;/SPAN&gt;:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mapping load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Region,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (max(orderdate))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;H&gt;&lt;/H&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(biff, embedded labels)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by Region;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;OderData:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Region, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; orderdate,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; applyMap ('Regiongrouping', Region) as [Max oderdate],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comment&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;H&gt;&lt;/H&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(biff, embedded labels);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Why is this so?&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 14:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905545#M314725</guid>
      <dc:creator />
      <dc:date>2015-06-03T14:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Max functin not working with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905546#M314726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you attach your Test.xls file for testing out your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 15:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905546#M314726</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-06-03T15:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Max functin not working with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905547#M314727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the error message?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 15:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905547#M314727</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-06-03T15:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Max functin not working with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905548#M314728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of mapping load, you can use Left join like below&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;&lt;EM style="font-weight: inherit; font-family: inherit; text-decoration: underline;"&gt;OderData:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD Region,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; orderdate,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; value,&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; comment&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;H&gt;&lt;/H&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;(biff, embedded labels);&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Left Join(&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit; text-decoration: underline;"&gt;OderData)&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit; text-decoration: underline;"&gt;Load Region,&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;max(orderdate) As &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;[Max oderdate] Resident &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit; text-decoration: underline;"&gt;OderData Group by &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-weight: inherit; text-decoration: underline;"&gt;Region;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 15:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905548#M314728</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-06-03T15:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Max functin not working with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905549#M314729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;Hi,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Why don't you remove the bracket from behind Max, See below&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN style="text-decoration: underline;"&gt;Regiongrouping&lt;/SPAN&gt;:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mapping load&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Region,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(orderdate)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;H&gt;&lt;/H&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(biff, embedded labels)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;group by Region;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="text-decoration: underline;"&gt;OderData:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD Region, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; orderdate,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; applyMap ('Regiongrouping', Region) as [Max oderdate],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; comment&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;H&gt;&lt;/H&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(biff, embedded labels);&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 15:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905549#M314729</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-06-03T15:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Max functin not working with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905550#M314730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your code works on my QlikView and with some test data (test.xls)&lt;/P&gt;&lt;P&gt;could you post your excel and the error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 22:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905550#M314730</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-06-03T22:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Max functin not working with applymap</title>
      <link>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905551#M314731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would ensure you have a field name on the Max in the ApplyMap.&amp;nbsp; It's strange that it's inconsistent if this falls over or not, but I would certainly add it for completeness:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(max(orderdate)) as OD,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As&amp;nbsp; &lt;A href="https://community.qlik.com/qlik-users/55632"&gt;Gabsus04&lt;/A&gt; states the brackets are superflous, but will not cause an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the field in the ApplyMap is not used anywhere - but it is probably better to have it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 09:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-functin-not-working-with-applymap/m-p/905551#M314731</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2015-06-30T09:55:25Z</dc:date>
    </item>
  </channel>
</rss>

