<?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: tMap not recognising value - please help! in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-not-recognising-value-please-help/m-p/2291395#M64580</link>
    <description>&lt;P&gt;@JulieM39 JulieM39​&amp;nbsp;, the below expression will work.&lt;/P&gt;&lt;P&gt;row5.Code.equals("GB") ?&lt;/P&gt;&lt;P&gt;row2.Postal_Code :&lt;/P&gt;&lt;P&gt;row2.State&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but you can write this to avoid null pointer exception by writing the below way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;("GB").Code.equals(row5.Code) ?&lt;/P&gt;&lt;P&gt;row2.Postal_Code :&lt;/P&gt;&lt;P&gt;row2.State&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the above expression if your not getting expected result may be the joining fields from row5 to row2 is not matching. you need to check the join criteria and data what you are getting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&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;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2020 14:20:18 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-09-10T14:20:18Z</dc:date>
    <item>
      <title>tMap not recognising value - please help!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-not-recognising-value-please-help/m-p/2291394#M64579</link>
      <description>&lt;P&gt;Hello all.  I desparately need help with this issue as it's driving me mad!&lt;/P&gt;&lt;P&gt;In my tMap I have this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;row5.Code.equals("GB") ?&lt;/P&gt;&lt;P&gt;row2.Postal_Code :&lt;/P&gt;&lt;P&gt;row2.State&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the row5.Code I'm using a csv lookup which uses the state field in the input file to derive the country code.  And it correctly derives it.  My input file is also csv.  So for a name field I want to use the postcode if the country is GB, else use the state field.  But it doesn't seem to recognise any of the derived GB values &amp;amp; puts the state in the name for every one of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached some screenshots of my job and tMap.  Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-not-recognising-value-please-help/m-p/2291394#M64579</guid>
      <dc:creator>JM39</dc:creator>
      <dc:date>2024-11-16T01:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: tMap not recognising value - please help!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-not-recognising-value-please-help/m-p/2291395#M64580</link>
      <description>&lt;P&gt;@JulieM39 JulieM39​&amp;nbsp;, the below expression will work.&lt;/P&gt;&lt;P&gt;row5.Code.equals("GB") ?&lt;/P&gt;&lt;P&gt;row2.Postal_Code :&lt;/P&gt;&lt;P&gt;row2.State&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but you can write this to avoid null pointer exception by writing the below way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;("GB").Code.equals(row5.Code) ?&lt;/P&gt;&lt;P&gt;row2.Postal_Code :&lt;/P&gt;&lt;P&gt;row2.State&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the above expression if your not getting expected result may be the joining fields from row5 to row2 is not matching. you need to check the join criteria and data what you are getting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manohar&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;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 14:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-not-recognising-value-please-help/m-p/2291395#M64580</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-09-10T14:20:18Z</dc:date>
    </item>
  </channel>
</rss>

