<?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: How to write this CASE in Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-write-this-CASE-in-Talend/m-p/2258923#M40565</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;Yes, it is.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2019 04:56:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-19T04:56:45Z</dc:date>
    <item>
      <title>How to write this CASE in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-write-this-CASE-in-Talend/m-p/2258921#M40563</link>
      <description>&lt;P&gt;Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;We are using TOS and we are looking to write this CASE in Talend.&lt;/P&gt; 
&lt;P&gt;Can you please provide full code for this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;CASE WHEN WTR IS NULL AND BNP IS NULL THEN 'MOP' WHEN WTR = 0 AND BNP = 0 THEN 'MOP' WHEN WTR &amp;gt; 0 AND BNP &amp;lt; 0 THEN 'WNT' WHEN WTR &amp;lt; 0 AND BNP &amp;gt; 0 THEN 'BNP' WHEN WTR &amp;lt; 0 AND BNP &amp;lt; 0 THEN 'MOP' WHEN (WTR IS NULL OR WTR = 0) AND BNP &amp;lt;= 0 THEN 'MOP' WHEN (BNP IS NULL OR BNP = 0) AND WTR &amp;lt;= 0 THEN 'MOP' WHEN (WTR IS NULL OR WTR = 0) AND BNP &amp;gt; 0 THEN 'BNP' WHEN (BNP IS NULL OR BNP = 0) AND WTR &amp;gt; 0 THEN 'WNT' WHEN cast (WTR as DECIMAL) / NULLIF(BNP,0) &amp;lt;= 0.4 AND cast (WTR as DECIMAL) / NULLIF(BNP,0) &amp;gt; 0 THEN 'BNP' WHEN cast (WTR as DECIMAL) / NULLIF(BNP,0) &amp;gt; 0.4 AND cast (WTR as DECIMAL) / NULLIF(BNP,0) &amp;lt; 1.6 THEN 'MOP' WHEN cast (WTR as DECIMAL) / NULLIF(BNP,0) &amp;gt;= 1.6 THEN 'WNT' END AS TYPE, (CAST(PASSANGER_REV as DECIMAL ) * WD.SUM_ALL_DAYS/ WD.SUM_YTD_DAYS ) AS EXTRAPOLATED,&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-write-this-CASE-in-Talend/m-p/2258921#M40563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this CASE in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-write-this-CASE-in-Talend/m-p/2258922#M40564</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQJNAA4"&gt;@rohitatcs&lt;/A&gt;&amp;nbsp;, are&amp;nbsp;&lt;SPAN&gt;WD.SUM_ALL_DAYS and WD.SUM_YTD_DAYS fields?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 13:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-write-this-CASE-in-Talend/m-p/2258922#M40564</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-11-18T13:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to write this CASE in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-write-this-CASE-in-Talend/m-p/2258923#M40565</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;Yes, it is.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 04:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-write-this-CASE-in-Talend/m-p/2258923#M40565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-19T04:56:45Z</dc:date>
    </item>
  </channel>
</rss>

