<?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 if statement in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272751#M49938</link>
    <description>&lt;P&gt;If Y and N are string&lt;/P&gt;&lt;P&gt;Please follow below steps&amp;nbsp;&lt;/P&gt;&lt;P&gt;row1.shut.toLowercase().contains("Y")&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;"True"&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;"False"&lt;/P&gt;&lt;P&gt;But before doing that you should do null check so that only you will get Y or N to output side&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 20:45:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-18T20:45:22Z</dc:date>
    <item>
      <title>tMap if statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272749#M49936</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am new to Talend and trying to write a pretty simple if statement in the tmap to translate a text field to a booleen.&amp;nbsp; The input will be sending a "Y" or "N" and I have to convert it to True or False for the conversion.&amp;nbsp; I have it written like this:&amp;nbsp; IF(row1.shut == "Y", true, false)&amp;nbsp; &amp;nbsp;When I run my job, I get an error: The Method IF(boolean, boolean, boolean) is unidentified fro the type account.&amp;nbsp; &amp;nbsp;I appreciate any insight!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 20:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272749#M49936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-18T20:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: tMap if statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272750#M49937</link>
      <description>&lt;P&gt;You cannot write an "if" statement into the tMap component.&lt;/P&gt;
&lt;P&gt;You have to use a ternary expression like this one:&lt;/P&gt;
&lt;PRE&gt;"Y".equalsIgnoreCase(row1.shut) ? true : false&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Feb 2019 20:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272750#M49937</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-02-18T20:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: tMap if statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272751#M49938</link>
      <description>&lt;P&gt;If Y and N are string&lt;/P&gt;&lt;P&gt;Please follow below steps&amp;nbsp;&lt;/P&gt;&lt;P&gt;row1.shut.toLowercase().contains("Y")&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;"True"&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;"False"&lt;/P&gt;&lt;P&gt;But before doing that you should do null check so that only you will get Y or N to output side&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 20:45:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272751#M49938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-18T20:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: tMap if statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272752#M49939</link>
      <description>&lt;P&gt;Thank you both!&amp;nbsp; Both solutions worked.&amp;nbsp; Guess I better brush up on my conversions.&amp;nbsp; Got a bunch to convert to doubles.&amp;nbsp; &amp;nbsp;I appreciate the help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 14:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272752#M49939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-19T14:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: tMap if statement</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272753#M49940</link>
      <description>&lt;A href="https://community.qlik.com/s/profile/0053p000007LPI1AAO"&gt;@steeld95&lt;/A&gt; thanks to mark tour case as solved</description>
      <pubDate>Tue, 19 Feb 2019 20:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-if-statement/m-p/2272753#M49940</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-02-19T20:20:58Z</dc:date>
    </item>
  </channel>
</rss>

