<?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 Change or replace some data in the LOAD script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-or-replace-some-data-in-the-LOAD-script/m-p/447900#M486119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load transactiondates from an auditfile. All the dates are correct but there are a few transactions who have a transactiondate 30-06-2011. I need to replace this date 30-06-2012 in 01-07-2012. The change is necessary otherwise the transaction related with this date wil not be presented in the correct Fiscal Year.&lt;/P&gt;&lt;P&gt;How can I rename or convert the date 30-06-2012 in the LOAD script to 30-06-2011? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance, &lt;/P&gt;&lt;P&gt;Rudy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Mar 2013 09:51:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-17T09:51:16Z</dc:date>
    <item>
      <title>Change or replace some data in the LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/Change-or-replace-some-data-in-the-LOAD-script/m-p/447900#M486119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load transactiondates from an auditfile. All the dates are correct but there are a few transactions who have a transactiondate 30-06-2011. I need to replace this date 30-06-2012 in 01-07-2012. The change is necessary otherwise the transaction related with this date wil not be presented in the correct Fiscal Year.&lt;/P&gt;&lt;P&gt;How can I rename or convert the date 30-06-2012 in the LOAD script to 30-06-2011? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance, &lt;/P&gt;&lt;P&gt;Rudy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Mar 2013 09:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-or-replace-some-data-in-the-LOAD-script/m-p/447900#M486119</guid>
      <dc:creator />
      <dc:date>2013-03-17T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change or replace some data in the LOAD script</title>
      <link>https://community.qlik.com/t5/QlikView/Change-or-replace-some-data-in-the-LOAD-script/m-p/447901#M486120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it's just about a single value you need to check and transform, I would use a conditional statement (i.e. if() statement ) in your load:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; if( DATEFIELD = makedate(2012,6,30), makedate(2012,7,1), DATEFIELD) as DATEFIELD,&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;FROM ....;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your DATEFIELD should already be interpreted as date by QV, if not (i.e. still pure text, no numerical representation), use the date#() function to interpret your DATEFIELD as date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Mar 2013 10:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-or-replace-some-data-in-the-LOAD-script/m-p/447901#M486120</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-03-17T10:33:31Z</dc:date>
    </item>
  </channel>
</rss>

