<?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 replace null(empty) string values with earlier row's values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266906#M45971</link>
    <description>This not working maybe this code is not good?&lt;BR /&gt;The main idea is describe in first post how to code this in tmap object?&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Rafal</description>
    <pubDate>Wed, 31 Oct 2012 14:28:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-10-31T14:28:47Z</dc:date>
    <item>
      <title>How to replace null(empty) string values with earlier row's values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266902#M45967</link>
      <description>Hi 
&lt;BR /&gt;I've csv input file with 256 columns. Every two rows have the same EntryID. I need to replace on field in second row from first row example:
&lt;BR /&gt;Input
&lt;BR /&gt;RowNumber EntryID TAXRateId 
&lt;BR /&gt;1 1 3 
&lt;BR /&gt;2 1 null
&lt;BR /&gt;3 2 5
&lt;BR /&gt;4 2 null
&lt;BR /&gt;5 3 6 
&lt;BR /&gt;6 3 null
&lt;BR /&gt;Output after Talend job should look like below:
&lt;BR /&gt;Output
&lt;BR /&gt;RowNumber EntryID TAXRateId 
&lt;BR /&gt;1 1 3 
&lt;BR /&gt;2 1 3
&lt;BR /&gt;3 2 5
&lt;BR /&gt;4 2 5 
&lt;BR /&gt;5 3 6 
&lt;BR /&gt;6 3 6
&lt;BR /&gt;
&lt;BR /&gt;Input CSV file have all strings value output also required strings. Input and output file schema have 256 columns.
&lt;BR /&gt;Any idea how to fast build? Possible only with using tmap?
&lt;BR /&gt;Thanks in advance for any help
&lt;BR /&gt;Rafal</description>
      <pubDate>Sat, 16 Nov 2024 12:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266902#M45967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace null(empty) string values with earlier row's values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266903#M45968</link>
      <description>hi 
&lt;BR /&gt;have a look at tMemorizeRows.
&lt;BR /&gt;hope it helps
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
      <pubDate>Fri, 26 Oct 2012 13:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266903#M45968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-26T13:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace null(empty) string values with earlier row's values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266904#M45969</link>
      <description>kzone Thanks for this info.
&lt;BR /&gt;I'm trying to use Tmemorizerows and tmap to do this but when I have on tmap this code:
&lt;BR /&gt;(TAXReclaimCode_tMemorizeRows_1 == null ||
&lt;BR /&gt;!TAXReclaimCode_tMemorizeRows_1 == null.equals(TAXReclaimCode_tMemorizeRows_1))
&lt;BR /&gt;? row7.TAXReclaimCode : "" 
&lt;BR /&gt;Talend sending me errors in tmap component.
&lt;BR /&gt;I'm using string values for this any idea how to fix this.
&lt;BR /&gt;Kind Regards
&lt;BR /&gt;Rafal</description>
      <pubDate>Wed, 31 Oct 2012 13:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266904#M45969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-31T13:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace null(empty) string values with earlier row's values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266905#M45970</link>
      <description>use isnull and not Talend functions.</description>
      <pubDate>Wed, 31 Oct 2012 13:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266905#M45970</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-10-31T13:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace null(empty) string values with earlier row's values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266906#M45971</link>
      <description>This not working maybe this code is not good?&lt;BR /&gt;The main idea is describe in first post how to code this in tmap object?&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Rafal</description>
      <pubDate>Wed, 31 Oct 2012 14:28:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266906#M45971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-31T14:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace null(empty) string values with earlier row's values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266907#M45972</link>
      <description>I think this can also be done with a tMap.
&lt;BR /&gt;inputfile.xls 
&lt;BR /&gt; \
&lt;BR /&gt; tMap --&amp;gt;output
&lt;BR /&gt; /
&lt;BR /&gt;inputfile.xls 
&lt;BR /&gt;make an inner join on entryId
&lt;BR /&gt;and filter taxRateID on the first input to not null and on the second input to null
&lt;BR /&gt;then map fields EntryId and TaxRateId from the first input
&lt;BR /&gt;and map rowNumber from the second input.</description>
      <pubDate>Wed, 31 Oct 2012 15:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-replace-null-empty-string-values-with-earlier-row-s/m-p/2266907#M45972</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-31T15:07:59Z</dc:date>
    </item>
  </channel>
</rss>

