<?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 Comparing the first 2 digits of postal code to another colomn in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212923#M10379</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a beginner on talend and I will apprecitate if someone can help me with this...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to match the first 2 digits of a postal code ex: 69000 to another column containing the value 69. Then only show row where these values match. (Excel file with the full data attached)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of the data below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;TELMAT INFORMATIQUE&lt;/TD&gt;
&lt;TD&gt;69000&lt;/TD&gt;
&lt;TD&gt;LYON&lt;/TD&gt;
&lt;TD&gt;66&lt;/TD&gt;
&lt;TD&gt;pyrenees-orientales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;TELMAT INFORMATIQUE&lt;/TD&gt;
&lt;TD&gt;69000&lt;/TD&gt;
&lt;TD&gt;LYON&lt;/TD&gt;
&lt;TD&gt;67&lt;/TD&gt;
&lt;TD&gt;bas-rhin&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;TELMAT INFORMATIQUE&lt;/TD&gt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
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;TELMAT INFORMATIQUE&lt;/TD&gt;
&lt;TD&gt;69000&lt;/TD&gt;
&lt;TD&gt;LYON&lt;/TD&gt;
&lt;TD&gt;73&lt;/TD&gt;
&lt;TD&gt;savoie&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Mar 2019 10:14:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-04T10:14:55Z</dc:date>
    <item>
      <title>Comparing the first 2 digits of postal code to another colomn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212923#M10379</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a beginner on talend and I will apprecitate if someone can help me with this...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to match the first 2 digits of a postal code ex: 69000 to another column containing the value 69. Then only show row where these values match. (Excel file with the full data attached)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example of the data below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;TELMAT INFORMATIQUE&lt;/TD&gt;
&lt;TD&gt;69000&lt;/TD&gt;
&lt;TD&gt;LYON&lt;/TD&gt;
&lt;TD&gt;66&lt;/TD&gt;
&lt;TD&gt;pyrenees-orientales&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
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TD&gt;saone-et-loire&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;TELMAT INFORMATIQUE&lt;/TD&gt;
&lt;TD&gt;69000&lt;/TD&gt;
&lt;TD&gt;LYON&lt;/TD&gt;
&lt;TD&gt;72&lt;/TD&gt;
&lt;TD&gt;sarthe&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;5&lt;/TD&gt;
&lt;TD&gt;TELMAT INFORMATIQUE&lt;/TD&gt;
&lt;TD&gt;69000&lt;/TD&gt;
&lt;TD&gt;LYON&lt;/TD&gt;
&lt;TD&gt;73&lt;/TD&gt;
&lt;TD&gt;savoie&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 10:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212923#M10379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-04T10:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the first 2 digits of postal code to another colomn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212924#M10380</link>
      <description>If postalCode is defined as an integer, use a tFilterRow to get rows where the values is between 69000 and 69999.&lt;BR /&gt;If string, extract first 2 digits first then tFilterRow to get expected result.</description>
      <pubDate>Mon, 04 Mar 2019 10:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212924#M10380</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-03-04T10:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the first 2 digits of postal code to another colomn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212925#M10381</link>
      <description>&lt;P&gt;Thank you for your response,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think you got my question right, please take a look on the attacked excel file file.&lt;/P&gt;
&lt;P&gt;The 69000 was just an example, so actually there are several postal codes and several departementIDs that starts with varoius ranges of numbers and characters which needs to be matched, am not sure if tFilterRow can be usful in this case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 12:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212925#M10381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-04T12:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the first 2 digits of postal code to another colomn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212926#M10382</link>
      <description>&lt;P&gt;But Why your input is cross joined with Region Code ?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Anyways , Try tFilterrow&amp;nbsp;(Use advance Option)&amp;nbsp;with expression ( to check if&amp;nbsp; col3 starts with Col5 )&lt;/P&gt; 
&lt;P&gt;StringHandling.INDEX(input_row.col3 + "",input_row.col5 + "") == 0&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You could use regex expression also.&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; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 13:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212926#M10382</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-04T13:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing the first 2 digits of postal code to another colomn</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212927#M10383</link>
      <description>Many thanks Abhishek it works just fine 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 04 Mar 2019 14:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Comparing-the-first-2-digits-of-postal-code-to-another-colomn/m-p/2212927#M10383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-04T14:39:29Z</dc:date>
    </item>
  </channel>
</rss>

