<?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 function not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137366#M629341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have, no success, sunny...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2016 13:57:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-25T13:57:30Z</dc:date>
    <item>
      <title>Max function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137362#M629337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;I am working with two max functions that aren't working, for the purposes of this project I am using the max to filter duplicates since I only want the latest record. I have tried to manipulate the function a number of different ways and still no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**The max function worked &lt;STRONG&gt;before&lt;/STRONG&gt; I added the extra fields called &lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt; [RC Version Date],&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt; [RC Project Name],[RC Project Number], however when a design change was &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 19.9999px;"&gt;brought&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt; forward I added the fields but the max functions seemed to have stopped working since my table came back with 1995 records instead of 1992, so there were 3 duplicates.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LoadJoin:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM [\\ke_root.qvd] (qvd);&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM [\\ke_task.qvd] (qvd);&lt;/P&gt;&lt;P&gt;Left Join (LoadJoin)&lt;/P&gt;&lt;P&gt;LOAD [KE Task ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [RC Version Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [RC Project Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [RC Project Number],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;Max(Date([Last KE Task Work Info Date Q5])) as [Last KE Task Work Info Date Q5],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Max(Date([Last KE Task Work Info Mod Date Q5])) as [Last KE Task Work Info Mod Date Q5]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\ke_task_work_info.qvd] (qvd)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By [KE Task ID], [RC Version Date], [RC Project Name], [RC Project Number];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 13:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137362#M629337</guid>
      <dc:creator />
      <dc:date>2016-07-25T13:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Max function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137363#M629338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried loading only the last part of your code?&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14694547571558188 jive_text_macro" jivemacro_uid="_14694547571558188"&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD [KE Task ID],&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; [RC Version Date],&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; [RC Project Name],&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; [RC Project Number],&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Max(Date([Last KE Task Work Info Date Q5])) as [Last KE Task Work Info Date Q5],&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 style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; Max(Date([Last KE Task Work Info Mod Date Q5])) as [Last KE Task Work Info Mod Date Q5]&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;FROM&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[\\ke_task_work_info.qvd] (qvd)&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Group By [KE Task ID], [RC Version Date], [RC Project Name], [RC Project Number];&lt;/STRONG&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 13:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137363#M629338</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2016-07-25T13:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: Max function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137364#M629339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mindauags,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will not run without the remainder of code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 13:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137364#M629339</guid>
      <dc:creator />
      <dc:date>2016-07-25T13:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Max function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137365#M629340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever try to use the ApplyMap() method of doing this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 13:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137365#M629340</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-25T13:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Max function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137366#M629341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have, no success, sunny...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2016 13:57:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137366#M629341</guid>
      <dc:creator />
      <dc:date>2016-07-25T13:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Max function not working</title>
      <link>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137367#M629342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try loading the "RC" fields separately to the max(Date) fields in different tables and then join the two tables together.&amp;nbsp; Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RCLoad:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; [KE Task ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [RC Version Date],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [RC Project Name],&lt;/P&gt;&lt;P&gt;&amp;nbsp; [RC Project Number]&lt;/P&gt;&lt;P&gt;FROM [&lt;A href="https://community.qlik.com/"&gt;\\ke_task_work_info.qvd&lt;/A&gt;] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join (RCLOAD)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; [KE Task ID],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;Max(Date([Last KE Task Work Info Date Q5])) as [Last KE Task Work Info Date Q5],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Max(Date([Last KE Task Work Info Mod Date Q5])) as [Last KE Task Work Info Mod Date Q5]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\\ke_task_work_info.qvd] (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join (&lt;STRONG&gt;LoadJoin&lt;/STRONG&gt;)&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;Resident RCLoad;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 08:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-function-not-working/m-p/1137367#M629342</guid>
      <dc:creator>tom2qlik</dc:creator>
      <dc:date>2016-09-08T08:05:50Z</dc:date>
    </item>
  </channel>
</rss>

