<?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: Pull data from previous row if fields are blank in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311123#M82191</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As you have mentioned you want the solution without using custom code,  you can do this in a tMap via if else expression.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.talend.com/s/article/tMap-expression-syntax-TCiHW" alt="https://community.talend.com/s/article/tMap-expression-syntax-TCiHW" target="_blank"&gt;https://community.talend.com/s/article/tMap-expression-syntax-TCiHW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is also a tMemorizeRows component which memorizes group key and columns on the previous row.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2020 10:31:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-08T10:31:21Z</dc:date>
    <item>
      <title>Pull data from previous row if fields are blank</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311121#M82189</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a task where I'm given data that I need to populate from a previous record with the same unique ID.&lt;/P&gt;&lt;P&gt;It looks something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customer ID | Name | Address 1 | Address 2 | Purchase Date | Shop Address&lt;/P&gt;&lt;P&gt;1000 | Bob Smith | 123 Main St | Somewhere HI 12345 | 01/01/2020 | 111 Shop rd&lt;/P&gt;&lt;P&gt;1000 ||||03/01/2020| 123 Market Hw&lt;/P&gt;&lt;P&gt;2000 | Rachel Smith | 824 Open Rd | Beverly Hills CA 01879 | 04/01/2020 | 111 Shop Rd&lt;/P&gt;&lt;P&gt;3000 | Justin T | ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first time a new ID shows up we should have all the data. For the subsequent rows we only have the new data, everything omitted is assumed to be repeating and I need to populate it from the previous row as long as the Customer ID matches to the current line. &lt;/P&gt;&lt;P&gt;My expected outcome from the use case is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1000 | Bob Smith | 123 Main St | Somewhere HI 12345 | 01/01/2020 | 111 Shop rd&lt;/P&gt;&lt;P&gt;1000 | Bob Smith | 123 Main St | Somewhere HI 12345 | 03/01/2020| 123 Market Hw&lt;/P&gt;&lt;P&gt;2000 | Rachel Smith | 824 Open Rd | Beverly Hills CA 01879 | 04/01/2020 | 111 Shop Rd&lt;/P&gt;&lt;P&gt;3000 | ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there's a component that will allow me to do this with many fields I'd prefer that over java code using variables, I have around 30 fields that I'll need to utilize this solution for. &lt;/P&gt;</description>
      <pubDate>Mon, 07 Dec 2020 18:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311121#M82189</guid>
      <dc:creator>Jj5</dc:creator>
      <dc:date>2020-12-07T18:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from previous row if fields are blank</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311122#M82190</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;I think tMemorizeRow component can meet your need, please refer to the component documentation and learn this component. Here I show you an example on tMap.&lt;/P&gt;&lt;P&gt;data source input-main--tMemorizeRow_1---tMap....&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AasDSAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135418iDC53B36418243BEB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AasDSAAZ.png" alt="0693p00000AasDSAAZ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AasCyAAJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157829i1D3AC10911366C01/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AasCyAAJ.png" alt="0693p00000AasCyAAJ.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 09:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311122#M82190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-08T09:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from previous row if fields are blank</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311123#M82191</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;As you have mentioned you want the solution without using custom code,  you can do this in a tMap via if else expression.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.talend.com/s/article/tMap-expression-syntax-TCiHW" alt="https://community.talend.com/s/article/tMap-expression-syntax-TCiHW" target="_blank"&gt;https://community.talend.com/s/article/tMap-expression-syntax-TCiHW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is also a tMemorizeRows component which memorizes group key and columns on the previous row.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 10:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311123#M82191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-08T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pull data from previous row if fields are blank</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311124#M82192</link>
      <description>&lt;P&gt;Thanks @Shicong Hong​&amp;nbsp;and @Xiaodi Shi​. I'm not sure how to mark the topic as resolved but that's the solution I was looking for&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 15:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pull-data-from-previous-row-if-fields-are-blank/m-p/2311124#M82192</guid>
      <dc:creator>Jj5</dc:creator>
      <dc:date>2020-12-08T15:00:03Z</dc:date>
    </item>
  </channel>
</rss>

