<?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: Missing something easy with this conditional in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221015#M15187</link>
    <description>&lt;P&gt;Thanks to you both!&amp;nbsp; That solved my problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Aug 2019 18:54:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-08-29T18:54:22Z</dc:date>
    <item>
      <title>Missing something easy with this conditional</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221012#M15184</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In tMap I have the following expression:&lt;/P&gt; 
&lt;PRE&gt;StringHandling.TRIM(row2.country) == "Germany"?"EMEA":"UNKNOWN"&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN&gt;But for some reason all the values, regardless of the value of "row2.country" are all coming up as "UNKNOWN" including the ones that have a value of "Germany".&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have checked the incoming data and it is correct (initialized just like in the equation).&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I am sure I am missing something simple but it is escaping me.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 17:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221012#M15184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-29T17:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Missing something easy with this conditional</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221013#M15185</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLAfAAO"&gt;@Craigbert&lt;/A&gt;&amp;nbsp;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please try changing the condition to&lt;/P&gt; 
&lt;PRE&gt;StringHandling.TRIM(row2.country).equals("Germany")?"EMEA":"UNKNOWN"&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;and see if it works.&lt;/P&gt; 
&lt;P&gt;For strings, it is usually done this way&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 17:47:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221013#M15185</guid>
      <dc:creator>nivedhitha</dc:creator>
      <dc:date>2019-08-29T17:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Missing something easy with this conditional</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221014#M15186</link>
      <description>String value comparison should be done with .equals() method and not == operator. Double equals is for object reference comparison</description>
      <pubDate>Thu, 29 Aug 2019 17:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221014#M15186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-29T17:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Missing something easy with this conditional</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221015#M15187</link>
      <description>&lt;P&gt;Thanks to you both!&amp;nbsp; That solved my problem!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 18:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Missing-something-easy-with-this-conditional/m-p/2221015#M15187</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-29T18:54:22Z</dc:date>
    </item>
  </channel>
</rss>

