<?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: Case statement using different columns in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Case-statement-using-different-columns/m-p/2330360#M99450</link>
    <description>CASE is a function, and can only return a single value. I think you are going to have to duplicate your CASE logic.&lt;BR /&gt;&lt;BR /&gt;The other option would be to wrap the whole query with an IF and have two separate queries to return results. Without seeing the rest of the query, it's hard to say if that would work for you. Take &lt;A href="http://www.thirdeyetechs.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;IT company in Kannur&lt;/A&gt; advice.</description>
    <pubDate>Sat, 08 Oct 2016 07:37:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-08T07:37:28Z</dc:date>
    <item>
      <title>Case statement using different columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Case-statement-using-different-columns/m-p/2330358#M99448</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="6"&gt;&lt;FONT face="Helvetica"&gt;I have a case statement as below&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="6"&gt;&lt;FONT face="Helvetica"&gt;Case when col1 like '%other%' then 'No' else col5 end as col5&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="6"&gt;&lt;FONT face="Helvetica"&gt;Here like in SQL I need to implement the case statement with different columns and the wild card check of the word 'other' all in talend how can this be done?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Aug 2016 12:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Case-statement-using-different-columns/m-p/2330358#M99448</guid>
      <dc:creator>anushaya1512</dc:creator>
      <dc:date>2016-08-28T12:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Case statement using different columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Case-statement-using-different-columns/m-p/2330359#M99449</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;In talend, you can write the expression on tMap like: 
&lt;BR /&gt;row1.col1.contains("other")?"No":row1.col5 
&lt;BR /&gt; 
&lt;BR /&gt;Please refers to this KB 
&lt;A href="https://help.talend.com/pages/viewpage.action?pageId=190513444" target="_blank" rel="nofollow noopener noreferrer"&gt;article&lt;/A&gt; to learn more tMap expression syntax. 
&lt;BR /&gt; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 29 Aug 2016 03:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Case-statement-using-different-columns/m-p/2330359#M99449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-29T03:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Case statement using different columns</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Case-statement-using-different-columns/m-p/2330360#M99450</link>
      <description>CASE is a function, and can only return a single value. I think you are going to have to duplicate your CASE logic.&lt;BR /&gt;&lt;BR /&gt;The other option would be to wrap the whole query with an IF and have two separate queries to return results. Without seeing the rest of the query, it's hard to say if that would work for you. Take &lt;A href="http://www.thirdeyetechs.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;IT company in Kannur&lt;/A&gt; advice.</description>
      <pubDate>Sat, 08 Oct 2016 07:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Case-statement-using-different-columns/m-p/2330360#M99450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-08T07:37:28Z</dc:date>
    </item>
  </channel>
</rss>

