<?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: Load only the latest time based on a date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448256#M433770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Theodor,&lt;/P&gt;&lt;P&gt;You need :&lt;/P&gt;&lt;P&gt;the first Row,the Latest TimeStamp or the latest Time ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Oct 2017 10:42:34 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-10-13T10:42:34Z</dc:date>
    <item>
      <title>Load only the latest time based on a date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448253#M433767</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;I have a problem i cant wrap my head around, i have example data. I want to load only the first record based on the valye TimeStamp. is that possible in Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a example based on a case but my data i much bigger so i cant do this manually is this possible to do in the load? I only need the record from the first row (in red)&amp;nbsp; based on the first timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 645px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="18" width="102"&gt;ID&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="113"&gt;TimeStamp&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="145"&gt;Startdate&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="77"&gt;Description&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="102"&gt;Titel&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="106"&gt;Treater&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;12458711&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;2017-02-23 12:02&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;2017-03-31&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;uss&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Tf&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Amr Tam&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;12458711&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;2017-02-13 12:41&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2017-03-31&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;uss&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Tf&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Amr Tam&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="18" style="border-top: none;"&gt;12458711&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;2017-02-23 09:26&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top: none; border-left: none;"&gt;2017-03-31&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;uss&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Tf&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;Amr Tam&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 10:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448253#M433767</guid>
      <dc:creator />
      <dc:date>2017-10-13T10:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Load only the latest time based on a date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448254#M433768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does this works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Source:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load * inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ID, TimeStamp, Startdate, Description, Titel, Treater&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;12458711, 2017-02-23 12:02, 2017-03-31, uss, Tf, Amr Tam&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;12458711, 2017-02-13 12:41, 2017-03-31, uss, Tf, Amr Tam&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;12458711, 2017-02-23 09:26, 2017-03-31, uss, Tf, Amr Tam&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Source)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; TimeStamp,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date( Date#(TimeStamp, 'YYYY-MM-DD hh:mm'),'YYYY-MM-DD hh:mm')&amp;nbsp; as New&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right Keep (Source)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date( Max(New), 'YYYYMMDD')&amp;nbsp; as New&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Source;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 10:36:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448254#M433768</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-13T10:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Load only the latest time based on a date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448255#M433769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread might help you -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/148948" title="https://community.qlikview.com/thread/148948"&gt;https://community.qlikview.com/thread/148948&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 10:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448255#M433769</guid>
      <dc:creator>nehasaxena</dc:creator>
      <dc:date>2017-10-13T10:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load only the latest time based on a date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448256#M433770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Theodor,&lt;/P&gt;&lt;P&gt;You need :&lt;/P&gt;&lt;P&gt;the first Row,the Latest TimeStamp or the latest Time ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 10:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448256#M433770</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-10-13T10:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Load only the latest time based on a date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448257#M433771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;However&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;TimestampFormat&lt;/EM&gt;&lt;/STRONG&gt;='DD-MM-YYYY hh:mm';&lt;BR /&gt; Temp:&lt;BR /&gt; &lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; * &lt;SPAN style="color: #0000ff;"&gt;Inline&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;[&lt;BR /&gt; ID, TimeStamp, Startdate, Description, Titel, Treater &lt;BR /&gt; 12458711, 2017-02-23 12:02, 2017-03-31, uss, Tf, Amr Tam &lt;BR /&gt; 12458711, 2017-02-13 12:41, 2017-03-31, uss, Tf, Amr Tam &lt;BR /&gt; 12458711, 2017-02-23 09:26, 2017-03-31, uss, Tf, Amr Tam]&lt;/SPAN&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Inner&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Join&lt;/SPAN&gt; (Temp) &lt;SPAN style="color: #008000;"&gt;//Latest Time&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="color: #800000;"&gt;ID&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;FirstSortedValue&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;TimeStamp&lt;/SPAN&gt;,-&lt;SPAN style="color: #0000ff;"&gt;Time&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;TimeStamp&lt;/SPAN&gt;)) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;TimeStamp&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; Temp&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Group&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ID&lt;/SPAN&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;//Inner Join (Temp) //First Row&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; //LOAD ID,FirstValue(TimeStamp) as TimeStamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; //Resident Temp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; //Group By ID;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; //&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; //Inner Join (Temp) //Latest TimeStamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; //LOAD ID,Min(TimeStamp) as TimeStamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; //Resident Temp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; //Group By ID; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 10:50:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448257#M433771</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-10-13T10:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load only the latest time based on a date</title>
      <link>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448258#M433772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx worked as a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 12:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-only-the-latest-time-based-on-a-date/m-p/1448258#M433772</guid>
      <dc:creator />
      <dc:date>2017-10-13T12:45:45Z</dc:date>
    </item>
  </channel>
</rss>

