<?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 show max values row in straight table? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005473#M974566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I used table is showing latest max date. there are millions of IDs. I have added sample one ID. how to do this for all IDs max dates. Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 15:47:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-09T15:47:42Z</dc:date>
    <item>
      <title>How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005468#M974561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have below data in qvw. I need to show only max date row in straight table. can anyone suggest me how to do this. I have used MAX(DATE) but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INPUT:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="1031"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="106"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="153"&gt;NAME&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="88"&gt;ENTER&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="153"&gt;LEAVE&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="153"&gt;DATE&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="79"&gt;AS NAME&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="153"&gt;REASON OFF&lt;/TD&gt;&lt;TD class="xl63" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="146"&gt;MAX DATE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;ADAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;TYR&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;REG&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;21/10/2013&lt;BR /&gt;&amp;nbsp; 16:58&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;01/04/2014&lt;BR /&gt;&amp;nbsp; 19:24&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;ADAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;CSA&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;CD&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;21/10/2013&lt;BR /&gt;&amp;nbsp; 16:58&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;19/05/2014&lt;BR /&gt;&amp;nbsp; 15:51&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;ADAM&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;LG&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;AVE&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;21/10/2013&lt;BR /&gt;&amp;nbsp; 16:58&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl64" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;21/10/2013&lt;BR /&gt;&amp;nbsp; 16:58&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need OUTPUT as below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="1031"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="17" width="106"&gt;ID&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="153"&gt;NAME&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="88"&gt;ENTER&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="153"&gt;LEAVE&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="153"&gt;DATE&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="79"&gt;AS NAME&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="153"&gt;REASON OFF&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="146"&gt;MAX DATE&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;123&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;ADAM&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;CSA&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;CD&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;21/10/2013&lt;BR /&gt;&amp;nbsp; 16:58&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;XX&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;-&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;19/05/2014&lt;BR /&gt;&amp;nbsp; 15:51&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005468#M974561</guid>
      <dc:creator />
      <dc:date>2015-09-09T15:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005469#M974562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But date is the same for all the records, which one I must choose?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005469#M974562</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-09-09T15:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005470#M974563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need max date from MAX DATE column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005470#M974563</guid>
      <dc:creator />
      <dc:date>2015-09-09T15:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005471#M974564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amelia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i transformed 'Max Date' as a timestamp format in the QlikView load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Step1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/98409_Step1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i use Set Analysis to pre-filter the table to only give me the records where Max Date = max( Max Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Step2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/98410_Step2.png" style="height: 282px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load expression&lt;/P&gt;&lt;P&gt;LOAD ID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENTER,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEAVE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [AS NAME],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [REASON OFF],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp#([MAX DATE],'DD/MM/YYYY hh:mm') AS [MAX DATE]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chart expression&lt;/P&gt;&lt;P&gt;=only(&amp;nbsp; {&amp;lt;[MAX DATE]={"=[MAX DATE]=timestamp(max( total [MAX DATE]))"}&amp;gt;}&amp;nbsp; [MAX DATE]&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005471#M974564</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2015-09-09T15:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005472#M974565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll have to make sure the format ends up matching, but something like this in an expression should return what you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ONLY({&amp;lt;MAX_DATE = {"$(=MAX(MAX_DATE))"}&amp;gt;} MAX_DATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Such as in the attached qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005472#M974565</guid>
      <dc:creator>dclark0699</dc:creator>
      <dc:date>2015-09-09T15:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005473#M974566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I used table is showing latest max date. there are millions of IDs. I have added sample one ID. how to do this for all IDs max dates. Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005473#M974566</guid>
      <dc:creator />
      <dc:date>2015-09-09T15:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005474#M974567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when I used table is showing latest max date. there are millions of IDs. I have added sample one ID. how to do this for all IDs max dates. Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 15:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005474#M974567</guid>
      <dc:creator />
      <dc:date>2015-09-09T15:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005475#M974568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you only have 1 expression, when null Qlik doesn't show the row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if([MAX DATE]=max(TOTAL &amp;lt;ID&amp;gt; [MAX DATE]), [MAX DATE]) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 16:07:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005475#M974568</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-09-09T16:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to show max values row in straight table?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005476#M974569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. That's worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 09:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-show-max-values-row-in-straight-table/m-p/1005476#M974569</guid>
      <dc:creator />
      <dc:date>2015-09-10T09:12:21Z</dc:date>
    </item>
  </channel>
</rss>

