<?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 Lookup Failing in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365654#M129239</link>
    <description>&lt;P&gt;You can trim in expression between lookup and expression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrBb"&gt;tMapExpression.JPG&lt;/A&gt;</description>
    <pubDate>Tue, 03 Oct 2017 11:36:41 GMT</pubDate>
    <dc:creator>ashif2</dc:creator>
    <dc:date>2017-10-03T11:36:41Z</dc:date>
    <item>
      <title>tMap Lookup Failing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365648#M129233</link>
      <description>&lt;P&gt;I have a CSV file with a Column that contains a string.&amp;nbsp; I'm trying to lookup that string against a lookup table in SQL and get a resulting ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CSV&lt;/P&gt;
&lt;P&gt;Area,Client,Camera&lt;/P&gt;
&lt;P&gt;ABC,109 Forest,123&lt;/P&gt;
&lt;P&gt;ABC,109 Lancaster,123&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQL&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID,ClientName&lt;/P&gt;
&lt;P&gt;1,109 Forest&lt;/P&gt;
&lt;P&gt;2, 109 Lancaster&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Desired Output&lt;/P&gt;
&lt;P&gt;ABC, 1, 123&lt;/P&gt;
&lt;P&gt;ABC, 2, 123&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Current Output&lt;/P&gt;
&lt;P&gt;ABC,0,123&lt;/P&gt;
&lt;P&gt;ABC,0,123&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created a "Left Outer Join" between CSV.Client and SQL.ClientName and my output Schema is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CSV.Area&lt;/P&gt;
&lt;P&gt;SQL.ID&lt;/P&gt;
&lt;P&gt;CSV.Camera&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Clearly, I'm not getting a match between the CSV.Client field and the SQL.ClientName field, but&amp;nbsp; I can't fathom why - they are identical in case, and no trailing spaces, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd welcome any suggestions.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365648#M129233</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Lookup Failing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365649#M129234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;remove space&amp;nbsp;between 2,&amp;nbsp;&lt;SPAN&gt;109 Lancaster in SQL 2nd row&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;SQL&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;ID,ClientName&lt;/P&gt; 
&lt;P&gt;1,109 Forest&lt;/P&gt; 
&lt;P&gt;2,109 Lancaster&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;o/p&lt;/P&gt; 
&lt;P&gt;Desired Output&lt;/P&gt; 
&lt;P&gt;ABC, 1, 123&lt;/P&gt; 
&lt;P&gt;ABC, 2, 123&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.JPG" style="width: 583px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LqsR.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148890i56F645237197B62A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LqsR.jpg" alt="0683p000009LqsR.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrCy.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152292i48A45CD4A39BCB24/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrCy.jpg" alt="0683p000009LrCy.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 10:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365649#M129234</guid>
      <dc:creator>SachinD</dc:creator>
      <dc:date>2017-10-03T10:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Lookup Failing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365650#M129235</link>
      <description>&lt;P&gt;If you are data is not formatted correctly , trim the data with the help of trim option available in input component.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 10:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365650#M129235</guid>
      <dc:creator>ashif2</dc:creator>
      <dc:date>2017-10-03T10:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Lookup Failing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365651#M129236</link>
      <description>&lt;P&gt;Not sure what I'm doing wrong.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="flow.png" style="width: 570px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrD8.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149774i989820F65B55148D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrD8.png" alt="0683p000009LrD8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="map.png" style="width: 997px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lqvg.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128878i3BCABD75BCDA4FA4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lqvg.png" alt="0683p000009Lqvg.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;--------------+--------------------------+--+---------.&lt;BR /&gt;| tLogRow_1 |&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;|=-------------+--------------------------+--+--------=|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;|Area |Client |ID|Camera_ID|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;|=-------------+--------------------------+--+--------=|&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;|Athol |109 Forest |0 |100530 |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;|Athol |109 Forest |0 |100531 |&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;|Athol |109 Forest |0 |100532 |&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;CSV&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Area,Client,Camera ID,Pole Number,Location/Street name,Camera name,Camera Type,Analogue or IP,Camera IP address,Server IP,Software,Status,&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Athol,109 Forest,100530,No pole,Camera 1,Bullet camera,Overview,Analogue,,,iSentry,Monitored,&lt;BR /&gt;Athol,109 Forest,100531,No pole,Camera 2,Bullet camera,Overview,Analogue,,,iSentry,Monitored,&lt;BR /&gt;Athol,109 Forest,100532,No pole,Camera 3,Bullet camera,Overview,Analogue,,,iSentry,Monitored,&lt;BR /&gt;Athol,109 Forest,100533,No pole,Camera 4,Bullet camera,Overview,Analogue,,,iSentry,Monitored,&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;SELECT [ID],&lt;BR /&gt;[ClientName]&lt;BR /&gt;FROM [dbo].[Client];&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="client.png" style="width: 354px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrDI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136167i972CFC89F7FED6DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrDI.png" alt="0683p000009LrDI.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrBR"&gt;flow.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lr0S"&gt;map.png&lt;/A&gt;</description>
      <pubDate>Tue, 03 Oct 2017 10:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365651#M129236</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T10:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Lookup Failing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365652#M129237</link>
      <description>I had to trim the input from the SQL Table (I checked "trim all string columns", it looks like it was producing space-padded values. Is there a way to trim the lookup column in the tMap, or can I only do it in the database input source component?</description>
      <pubDate>Tue, 03 Oct 2017 11:25:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365652#M129237</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T11:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Lookup Failing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365653#M129238</link>
      <description>​You​ can trim in the expression between input and look-up
&lt;BR /&gt;
&lt;BR /&gt;[image: Inline image 2]</description>
      <pubDate>Tue, 03 Oct 2017 11:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365653#M129238</guid>
      <dc:creator>ashif2</dc:creator>
      <dc:date>2017-10-03T11:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Lookup Failing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365654#M129239</link>
      <description>&lt;P&gt;You can trim in expression between lookup and expression.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrBb"&gt;tMapExpression.JPG&lt;/A&gt;</description>
      <pubDate>Tue, 03 Oct 2017 11:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365654#M129239</guid>
      <dc:creator>ashif2</dc:creator>
      <dc:date>2017-10-03T11:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: tMap Lookup Failing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365655#M129240</link>
      <description>Thanks 
&lt;A href="https://community.qlik.com/s/profile/0053p000007LMCuAAO"&gt;@ashif&lt;/A&gt; - how would I turn that expression into 
&lt;BR /&gt; 
&lt;BR /&gt;StringHandling.TRIM(row1.Dept)=StringHandling.TRIM(row2.Dept) 
&lt;BR /&gt; 
&lt;BR /&gt;I can only see how to add expressions to the the expression key not to the column being "looked up against"</description>
      <pubDate>Tue, 03 Oct 2017 11:40:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-Lookup-Failing/m-p/2365655#M129240</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-03T11:40:05Z</dc:date>
    </item>
  </channel>
</rss>

