<?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: Confusion regarding tMemorizeRows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Confusion-regarding-tMemorizeRows/m-p/2254364#M37394</link>
    <description>Hi, 
&lt;BR /&gt;For 
&lt;A href="https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tMemorizeRow&lt;/A&gt;
&lt;BR /&gt;, 
&lt;BR /&gt;means to refer to the current row.
&lt;BR /&gt;means to refer to the previous 1 row.
&lt;BR /&gt;Best regard
&lt;BR /&gt;Sabrina</description>
    <pubDate>Fri, 20 Dec 2013 02:29:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-12-20T02:29:29Z</dc:date>
    <item>
      <title>Confusion regarding tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Confusion-regarding-tMemorizeRows/m-p/2254363#M37393</link>
      <description>Hello, 
&lt;BR /&gt;I have a following situation where my input is like: 
&lt;BR /&gt;------------------- 
&lt;BR /&gt; |name | sal | 
&lt;BR /&gt;------------------- 
&lt;BR /&gt; |aa | 1111 | 
&lt;BR /&gt; |bb |2222 | 
&lt;BR /&gt; |cc |3333 | 
&lt;BR /&gt; |dd | 4444 | 
&lt;BR /&gt; ------------------ 
&lt;BR /&gt;Now ,I want to obtain the difference between two consecutive "sal" using tMemorizeRow component, and for the same I have ticked in the "sal" checkbox of memorize column in tMemorizeRow component and number of rows to be memorized =2. 
&lt;BR /&gt; 
&lt;BR /&gt;For the same I have written the following code in tJavaFlex: 
&lt;BR /&gt;row6.sal =(sal_tMemorizeRows_1== null || sal_tMemorizeRows_1 == null ) ? 0 :sal_tMemorizeRows_1 - sal_tMemorizeRows_1 ; 
&lt;BR /&gt;But the output obtained is : 
&lt;BR /&gt;------------------ 
&lt;BR /&gt; |name | sal | 
&lt;BR /&gt;------------------- 
&lt;BR /&gt; |aa | 0 | 
&lt;BR /&gt; |bb |-1111 | 
&lt;BR /&gt; |cc |-1111 | 
&lt;BR /&gt; |dd |-1111 | 
&lt;BR /&gt; ------------------ 
&lt;BR /&gt;Now when I interchange sal_tMemorizeRows_1 and sal_tMemorizeRows_1 ,the output obtained is : 
&lt;BR /&gt;------------------ 
&lt;BR /&gt; |name | sal | 
&lt;BR /&gt;------------------- 
&lt;BR /&gt; |aa | 0 | 
&lt;BR /&gt; |bb |1111 | 
&lt;BR /&gt; |cc |1111 | 
&lt;BR /&gt; |dd |1111 | 
&lt;BR /&gt; ------------------ 
&lt;BR /&gt;My doubt is whether _tMemorizeRows_1 points to the "preceding" row or to the "succeding" row.?? 
&lt;BR /&gt;Please do revert back if you have any idea about it.</description>
      <pubDate>Thu, 19 Dec 2013 13:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Confusion-regarding-tMemorizeRows/m-p/2254363#M37393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-19T13:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Confusion regarding tMemorizeRows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Confusion-regarding-tMemorizeRows/m-p/2254364#M37394</link>
      <description>Hi, 
&lt;BR /&gt;For 
&lt;A href="https://help.talend.com/search/all?query=tMemorizeRows&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tMemorizeRow&lt;/A&gt;
&lt;BR /&gt;, 
&lt;BR /&gt;means to refer to the current row.
&lt;BR /&gt;means to refer to the previous 1 row.
&lt;BR /&gt;Best regard
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 20 Dec 2013 02:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Confusion-regarding-tMemorizeRows/m-p/2254364#M37394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-20T02:29:29Z</dc:date>
    </item>
  </channel>
</rss>

