<?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 How do I implement this logic in tmap? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-implement-this-logic-in-tmap/m-p/2227491#M19081</link>
    <description>&lt;P&gt;CASE WHEN WMS_NAME_ADDR_TYPE_1_00 = 3 THEN TRIM(WMS_CITY_STATE_1_00) + " " + TRIM(WMS_NA_ZIP_CODE_1_00) ELSE WMS_NAME_ADDRESS_1_00&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tables named&amp;nbsp;&lt;SPAN&gt;WMS_NAME_ADDR_TYPE_1_00&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WMS_CITY_STATE_1_00&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WMS_NA_ZIP_CODE_1_00&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WMS_NAME_ADDRESS_1_00&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;For now I have it as a straight map since I have no idea how to implement this logic:&amp;nbsp;&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="name_address.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1UV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131096iCD3B42BDC241752F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1UV.png" alt="0683p000009M1UV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;I have the logic changed to tmap logic:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;WMS_NAME_ADDRESS_TYPE_1_00==3?TRIM(WMS_CITY_STATE_1_01)+ " " + TRIM(WMS_NA_ZIP_CODE_1_00): WMS_NAME_ADDRESS_1_00&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Did I convert the logic correctly, and where exactly do I put this logic since it's using multiple tables and I have a straight map?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Dec 2018 22:33:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-11T22:33:09Z</dc:date>
    <item>
      <title>How do I implement this logic in tmap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-implement-this-logic-in-tmap/m-p/2227491#M19081</link>
      <description>&lt;P&gt;CASE WHEN WMS_NAME_ADDR_TYPE_1_00 = 3 THEN TRIM(WMS_CITY_STATE_1_00) + " " + TRIM(WMS_NA_ZIP_CODE_1_00) ELSE WMS_NAME_ADDRESS_1_00&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tables named&amp;nbsp;&lt;SPAN&gt;WMS_NAME_ADDR_TYPE_1_00&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WMS_CITY_STATE_1_00&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WMS_NA_ZIP_CODE_1_00&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WMS_NAME_ADDRESS_1_00&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;For now I have it as a straight map since I have no idea how to implement this logic:&amp;nbsp;&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="name_address.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1UV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131096iCD3B42BDC241752F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1UV.png" alt="0683p000009M1UV.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;I have the logic changed to tmap logic:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;WMS_NAME_ADDRESS_TYPE_1_00==3?TRIM(WMS_CITY_STATE_1_01)+ " " + TRIM(WMS_NA_ZIP_CODE_1_00): WMS_NAME_ADDRESS_1_00&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Did I convert the logic correctly, and where exactly do I put this logic since it's using multiple tables and I have a straight map?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 22:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-implement-this-logic-in-tmap/m-p/2227491#M19081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-11T22:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this logic in tmap?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-do-I-implement-this-logic-in-tmap/m-p/2227492#M19082</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;This looks fine. Since you are doing concatenation operation, I would suggest the null values for &lt;SPAN&gt;WMS_CITY_STATE_1_00 and&amp;nbsp;WMS_NA_ZIP_CODE_1_00 as empty string (using interim Var variables in tMap) before doing concatenation. Else you would get null value in output even if one of the variable is having null.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Warm Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nikhil Thampi&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 04:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-do-I-implement-this-logic-in-tmap/m-p/2227492#M19082</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-12T04:28:11Z</dc:date>
    </item>
  </channel>
</rss>

