<?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: Aggregate in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746063#M266300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14187482802332877 jive_macro_code" jivemacro_uid="_14187482802332877"&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;table2:&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; CounterID,&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Timestamp(Max(Date)) as MaxDate&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;table1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By CounterID;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Dec 2014 16:44:43 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-12-16T16:44:43Z</dc:date>
    <item>
      <title>Aggregate in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746059#M266296</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;I have a scenario with data like below;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;CounterID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 148px; BORDER-COLLAPSE: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="border-bottom: #ece9d8; border-left: gainsboro 0.5pt solid; background-color: white; width: 111pt; height: 12.75pt; border-top: #ece9d8; border-right: gainsboro 0.5pt solid;" width="148"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;04/10/2014 22:38:26&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 148px; BORDER-COLLAPSE: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-bottom: #ece9d8; border-left: gainsboro 0.5pt solid; background-color: white; width: 111pt; height: 12.75pt; border-top: #ece9d8; border-right: gainsboro 0.5pt solid;" width="148"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;04/10/2014 22:39:26&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 148px; BORDER-COLLAPSE: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-bottom: #ece9d8; border-left: gainsboro 0.5pt solid; background-color: white; width: 111pt; height: 12.75pt; border-top: #ece9d8; border-right: gainsboro 0.5pt solid;" width="148"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;04/10/2014 22:51:09&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 148px; BORDER-COLLAPSE: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl65" height="17" style="border-bottom: #ece9d8; border-left: gainsboro 0.5pt solid; background-color: white; width: 111pt; height: 12.75pt; border-top: #ece9d8; border-right: gainsboro 0.5pt solid;" width="148"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;06/10/2014 13:56:51&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="WIDTH: 148px; BORDER-COLLAPSE: collapse;"&gt;&lt;TBODY&gt;&lt;TR style="height: 12.75pt;"&gt;&lt;TD class="xl63" height="17" style="border-bottom-color: #ece9d8; border-left: gainsboro 0.5pt solid; background-color: white; border-top-color: #ece9d8; width: 111pt; height: 12.75pt; border-right: gainsboro 0.5pt solid;" width="148"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;04/10/2014 22:38:26&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;04/10/2014 22:39:26&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;04/10/2014 22:45:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; And I need to fetch the Latest Date for each CounterID in the SCRIPT and not in the expression.&lt;/P&gt;&lt;P&gt;so that I get a field with&amp;nbsp; Latest Dates for each ID;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; WIDTH: 100%; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;CounterID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;04/10/2014 22:51:09&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;06/10/2014 13:56:51&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-family: Tahoma; color: #333333;"&gt;04/10/2014 22:45:00&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I tried using Peek grouping by CounterID, but not getting the desired Result.&lt;/P&gt;&lt;P&gt;Appreciate any &lt;/P&gt;&lt;P&gt;Help on the same !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746059#M266296</guid>
      <dc:creator />
      <dc:date>2014-12-16T14:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746060#M266297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;File1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;CounterID,&lt;/P&gt;&lt;P&gt;Date(Subfield(Date,' ',1),'DD/MM/YYYY') as Dt&lt;/P&gt;&lt;P&gt;from xyz .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File2:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;CounterID,&lt;/P&gt;&lt;P&gt;Max(Dt)&lt;/P&gt;&lt;P&gt;resident File1 group by CounterID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//If not needed&lt;/P&gt;&lt;P&gt;Drop table File1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:23:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746060#M266297</guid>
      <dc:creator>saumyashah90</dc:creator>
      <dc:date>2014-12-16T14:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746061#M266298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;firstsortedvalue(counterid,-date)&amp;nbsp;&amp;nbsp; - u ll get max values&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:24:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746061#M266298</guid>
      <dc:creator />
      <dc:date>2014-12-16T14:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746062#M266299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; CounterID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Timestamp(Date) as Date&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; CounterID, Date&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, 04/10/2014 22:38:26&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, 04/10/2014 22:39:26&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1, 04/10/2014 22:51:09&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2, 06/10/2014 13:56:51&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3, 04/10/2014 22:38:26&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3, 04/10/2014 22:39:26&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3, 04/10/2014 22:45:00&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; CounterID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FirstSortedValue(Date,-Date) as MaxDate&lt;/P&gt;&lt;P&gt;Resident T1&lt;/P&gt;&lt;P&gt;Group By CounterID;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 14:42:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746062#M266299</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-12-16T14:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746063#M266300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro _jivemacro_uid_14187482802332877 jive_macro_code" jivemacro_uid="_14187482802332877"&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;table2:&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; CounterID,&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; Timestamp(Max(Date)) as MaxDate&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Resident &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;table1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By CounterID;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 16:44:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746063#M266300</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-12-16T16:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746064#M266301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another way of doing the same without change the timestamp format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Tab1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CounterID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Timestamp#&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[ CounterID, Date&lt;BR /&gt; 1, 04/10/2014 22:38:26&lt;BR /&gt; 1, 04/10/2014 22:39:26&lt;BR /&gt; 1, 04/10/2014 22:51:09&lt;BR /&gt; 2, 06/10/2014 13:56:51&lt;BR /&gt; 3, 04/10/2014 22:38:26&lt;BR /&gt; 3, 04/10/2014 22:39:26&lt;BR /&gt; 3, 04/10/2014 22:45:00&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Tab2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CounterID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;MaxString&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),'DD/MM/YYYY hh:mm:ss') &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MaxDateField&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; Tab1&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Group&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;CounterID&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 18:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746064#M266301</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-16T18:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746065#M266302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one solution might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_145959_Pic1.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73641_QlikCommunity_Thread_145959_Pic1.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14187647475043895" jivemacro_uid="_14187647475043895"&gt;
&lt;P&gt;tabDates:&lt;/P&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CounterID, Date&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 04/10/2014 22:38:26&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 04/10/2014 22:39:26&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 04/10/2014 22:51:09&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 06/10/2014 13:56:51&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 04/10/2014 22:38:26&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 04/10/2014 22:39:26&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 04/10/2014 22:45:00&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabLatestDates:&lt;/P&gt;
&lt;P&gt;LOAD CounterID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp(Max(Date)) as MaxDate &lt;/P&gt;
&lt;P&gt;Resident tabDates &lt;/P&gt;
&lt;P&gt;Group By CounterID;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 21:19:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746065#M266302</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-12-16T21:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746066#M266303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would guess that using MaxString() would be significantly slower than the max() or FirstSortedValue() suggestions given earlier. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2014 21:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregate-in-Script/m-p/746066#M266303</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-12-16T21:51:57Z</dc:date>
    </item>
  </channel>
</rss>

