<?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 write load script at partial reload for [Reporting Code]&amp;lt; 00500 use date1 and more then 00500 use date2 ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156059#M634502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Settu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much. it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2016 02:56:47 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2016-05-27T02:56:47Z</dc:date>
    <item>
      <title>How to write load script at partial reload for [Reporting Code]&lt; 00500 use date1 and more then 00500 use date2 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156055#M634495</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;My raw data have 2 date , date1 and date2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is my load script :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;'TDSS' as SOURCE_GL,&lt;/P&gt;&lt;P&gt;date#(MakeDate(@53:57T, @50:52T ,@58:59T),'DD/MM/YYYY') as date1,&lt;/P&gt;&lt;P&gt;makedate(@53:57T,@50:52T,1) as date2,&lt;/P&gt;&lt;P&gt;@124:129T&amp;nbsp; as [Reporting Code],&lt;/P&gt;&lt;P&gt;if(@102:103T = '-',@86:101T*-1,@86:101T)*-1 as [Amount]&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM $(vRAWPath)$(vFile50).txt (ansi, fix, no labels, header is 0, record is line);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my application , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when reporting code 00001 - 00500 i should use date1&lt;/P&gt;&lt;P&gt;when reporting code 00501 - 99999 i should use date2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i make use of partial reload to create date3 , My requirement is to create a new feild name = date3 , the condition as below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Partial reload script as below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLE_P:&lt;/P&gt;&lt;P&gt;left keep (GL_TABLE)&lt;/P&gt;&lt;P&gt;load [Reporting Code],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If([Reporting Code]&amp;lt;=500,date1 and [Reporting Code]&amp;gt;=500,date2) as [date3]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident GL_TABLE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There it no error , it does create a new date3. But it is not working ,&amp;nbsp; Can some one advise me where i go wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 00:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156055#M634495</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-05-27T00:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to write load script at partial reload for [Reporting Code]&lt; 00500 use date1 and more then 00500 use date2 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156056#M634496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my QV Doc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 00:24:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156056#M634496</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-05-27T00:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to write load script at partial reload for [Reporting Code]&lt; 00500 use date1 and more then 00500 use date2 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156057#M634497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Add before your Load Statement for the partial reload to work .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 01:43:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156057#M634497</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-27T01:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to write load script at partial reload for [Reporting Code]&lt; 00500 use date1 and more then 00500 use date2 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156058#M634499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;TABLE_P:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;left&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;keep&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (GL_TABLE)&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: maroon;"&gt;[Reporting Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 9.0pt; font-family: 'Courier New';"&gt;//If([Reporting Code]&amp;lt;=500,date1 and [Reporting Code]&amp;gt;=500,date2) as [date3],&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&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;If&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;[Reporting Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=500,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;date1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&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;[Reporting Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;=500,&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;date2&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;[date3]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;If&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;[Reporting Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;=1 &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Reporting Code]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;lt;=19,'rEVENUE') &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;[rEVENUE]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&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; GL_TABLE; &lt;/SPAN&gt;&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 02:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156058#M634499</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2016-05-27T02:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to write load script at partial reload for [Reporting Code]&lt; 00500 use date1 and more then 00500 use date2 ?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156059#M634502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Settu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much. it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 02:56:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-load-script-at-partial-reload-for-Reporting-Code-lt/m-p/1156059#M634502</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-05-27T02:56:47Z</dc:date>
    </item>
  </channel>
</rss>

