<?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 use below SQL case statement While using tmap component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-below-SQL-case-statement-While-using-tmap-component/m-p/2348363#M115506</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Just get the&amp;nbsp;&lt;SPAN&gt;absolute value of NET field:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lvna.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153924iB0CC4161957D0DDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lvna.png" alt="0683p000009Lvna.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2017 08:52:17 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-07-25T08:52:17Z</dc:date>
    <item>
      <title>How to use below SQL case statement While using tmap component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-below-SQL-case-statement-While-using-tmap-component/m-p/2348362#M115505</link>
      <description>&lt;P&gt;Hi Talend Folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I need to convert the below SQL case statement&amp;nbsp;While using tmap component in talend&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(SUM(case&lt;BR /&gt;when t1.NET &amp;lt; 0&lt;BR /&gt;then (t1.NET*-1)&lt;BR /&gt;else&lt;BR /&gt;t1.NET&lt;BR /&gt;end)) AS NET&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 07:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-below-SQL-case-statement-While-using-tmap-component/m-p/2348362#M115505</guid>
      <dc:creator>RAJ6</dc:creator>
      <dc:date>2017-07-25T07:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to use below SQL case statement While using tmap component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-below-SQL-case-statement-While-using-tmap-component/m-p/2348363#M115506</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;Just get the&amp;nbsp;&lt;SPAN&gt;absolute value of NET field:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lvna.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153924iB0CC4161957D0DDC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lvna.png" alt="0683p000009Lvna.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 08:52:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-below-SQL-case-statement-While-using-tmap-component/m-p/2348363#M115506</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-07-25T08:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to use below SQL case statement While using tmap component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-below-SQL-case-statement-While-using-tmap-component/m-p/2348364#M115507</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the tMap variables and do your query using the Talend's condition :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;row1.myKey.equals("FirstValue")?1:0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your case, you will create variable which value is t1.NET*-1 if t1.NET &amp;lt; 0 else t1.NET and after you will map your variable to the ouput and add the sum function to the variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Med&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Med&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2017 15:43:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-below-SQL-case-statement-While-using-tmap-component/m-p/2348364#M115507</guid>
      <dc:creator>med1</dc:creator>
      <dc:date>2017-07-25T15:43:22Z</dc:date>
    </item>
  </channel>
</rss>

