<?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: How to use Max function int this case in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497821#M186076</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exact result that i needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2013 13:43:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-16T13:43:50Z</dc:date>
    <item>
      <title>How to use Max function int this case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497818#M186073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have three fields- ID, Date and code each ID has multiple date and respective multiple codes. The way i am trying to do this is i need to create a filter which just says (1,0) where if it's "1" then there is ID with a most recent date and respective code, if "0" default it to the way it is where ID has multiple dates and respective codes. &lt;/P&gt;&lt;P&gt;I have tried to create a different table and concatenate or join back to the actual table no nothing worked for me, hope that some one can help me with this?&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="226"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="77"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="85"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="64"&gt;Code&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;12894&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1/22/2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;acedr&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;12894&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1/23/2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;teyhcu&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;12894&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1/24/2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;sheyc&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;12894&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;1/25/2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;uieldo&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;19028&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2/16/2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;odleif&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;19028&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2/17/2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;iepdls&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;19028&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2/18/2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;qpalif&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl63" height="20" style="border-top: none;"&gt;19028&lt;/TD&gt;&lt;TD align="right" class="xl64" style="border-top: none; border-left: none;"&gt;2/19/2013&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;oslpar&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 14:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497818#M186073</guid>
      <dc:creator />
      <dc:date>2013-08-15T14:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Max function int this case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497819#M186074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD ID, Date, Code FROM ...;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max(Date) as Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 as MaxDate&lt;/P&gt;&lt;P&gt;RESIDENT Table1 &lt;/P&gt;&lt;P&gt;GROUP BY ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Date should be recognized as Date by QV, having a numeric representation. Set your DateFormat variable accordingly, if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Selecting 1 from field MaxDate should limit your records to the latest codes then, &lt;EM&gt;not &lt;/EM&gt;selecting anything in field MaxDate should show all records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 15:08:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497819#M186074</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-08-15T15:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Max function int this case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497820#M186075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This definetly makes sense Swuehl, I think this should give me the desired result but right now i am still doing some testing on this. But thanks for the quick response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 15:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497820#M186075</guid>
      <dc:creator />
      <dc:date>2013-08-15T15:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use Max function int this case</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497821#M186076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exact result that i needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 13:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-use-Max-function-int-this-case/m-p/497821#M186076</guid>
      <dc:creator />
      <dc:date>2013-08-16T13:43:50Z</dc:date>
    </item>
  </channel>
</rss>

