<?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 Date manipulation in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808610#M1212363</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this script and it is not working.&lt;/P&gt;&lt;P&gt;tan:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;F1, F2&lt;BR /&gt;09/07/2021, ren&lt;BR /&gt;09/05/2021, rte&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;tan1:&lt;BR /&gt;load * Resident tan&lt;BR /&gt;Where F1 &amp;gt; date('09/06/2021', 'MM/DD/YYYY');&lt;/P&gt;&lt;P&gt;DROP TABLE tan;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was expecting the table 'tan1' to have only the first row but tan1 is not even getting created.&lt;/P&gt;&lt;P&gt;what is wrong with it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 09:12:23 GMT</pubDate>
    <dc:creator>jduluc12</dc:creator>
    <dc:date>2021-05-18T09:12:23Z</dc:date>
    <item>
      <title>Date manipulation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808610#M1212363</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this script and it is not working.&lt;/P&gt;&lt;P&gt;tan:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;F1, F2&lt;BR /&gt;09/07/2021, ren&lt;BR /&gt;09/05/2021, rte&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;tan1:&lt;BR /&gt;load * Resident tan&lt;BR /&gt;Where F1 &amp;gt; date('09/06/2021', 'MM/DD/YYYY');&lt;/P&gt;&lt;P&gt;DROP TABLE tan;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was expecting the table 'tan1' to have only the first row but tan1 is not even getting created.&lt;/P&gt;&lt;P&gt;what is wrong with it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 09:12:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808610#M1212363</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2021-05-18T09:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Date manipulation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808716#M1212372</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18372"&gt;@jduluc12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;tan:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;F1, F2&lt;BR /&gt;09/07/2021, ren&lt;BR /&gt;09/05/2021, rte&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;noconcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;tan1:&lt;BR /&gt;load * Resident tan&lt;BR /&gt;Where F1 &amp;gt; date('09/06/2021', 'MM/DD/YYYY');&lt;/P&gt;&lt;P&gt;DROP TABLE tan;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 13:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808716#M1212372</guid>
      <dc:creator>Qlik1_User1</dc:creator>
      <dc:date>2021-05-18T13:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date manipulation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808827#M1212379</link>
      <description>&lt;P&gt;Just to add some context to this reply (which is right), in Qlikview, when you load a table that has exactly the same column names as a previous table it gets "concatenated" to the previous table.&lt;/P&gt;&lt;P&gt;So what your code is doing is concatenating or unioning tan and tan1 so that they become one table called "tan" and then you're dropping that table.&lt;/P&gt;&lt;P&gt;If you remove the drop table statement you'll see that the tan table actually has three rows which represents the merging of the two datasets you loaded&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 20:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808827#M1212379</guid>
      <dc:creator>nsm1234567</dc:creator>
      <dc:date>2021-05-18T20:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date manipulation in script</title>
      <link>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808868#M1212392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/18372"&gt;@jduluc12&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your scenario, you can directly use where condition in first load itself.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tan:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOAD * INLINE [&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F1, F2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;09/07/2021, ren&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;09/05/2021, rte&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;]Where F1 &amp;gt; date('09/06/2021', 'MM/DD/YYYY');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you are doing some manipulation, then you can use resident load.&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 03:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-manipulation-in-script/m-p/1808868#M1212392</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-05-19T03:36:15Z</dc:date>
    </item>
  </channel>
</rss>

