<?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: [resolved] Error in tMap join expression using row variables from lookup input in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338150#M106418</link>
    <description>Thanks for your suggestion. I've already used the "earlier tMap processing" idea to improve the match (and every field has been normalized, including to UCASE, thanks). But it doesn't get me far enough. 
&lt;BR /&gt;I need to join on several fields, including middle name fields where values can be blank, an initial, or a complete middle name. I need to JOIN records if the complete middle names match, if the first letter of a complete middle name of *either* input row matches an initial in the other, or, if the field in *either* input row is blank. The best I've done so far is to (pre) trim both fields to initials, which achieves about 75% sensitivity (good matches detected) and 95% specificity (bad matches correctly not selected). The largest error (missed good matches) comes from the case where one of the input row middle name fields is blank and the other contains a value. 
&lt;BR /&gt;If I could use a field in the lookup row as a variable in the JOIN expression, like it seems should work, I'd have a really good JOIN. 
&lt;BR /&gt;Anybody have any suggestions?</description>
    <pubDate>Tue, 19 Feb 2013 20:25:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-02-19T20:25:04Z</dc:date>
    <item>
      <title>[resolved] Error in tMap join expression using row variables from lookup input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338148#M106416</link>
      <description>I'm trying to JOIN a main input (row1) and a lookup input (Bad_Ones) in a tMap component with three JOIN-ON expressions. Two of the expressions use only variables from the main input. They work fine. 
&lt;BR /&gt;But one of the JOIN-ON expressions needs to also use a variable from the lookup input. The Variable list in the Expression Builder offers every field from both the main and the lookup inputs as variables for use in the expressions (shown in image 3). But the code generated gets compilation errors on each use of the variables from the lookup row. It highlights the name of the lookup input (Bad_Ones) and reports that the lookup table name cannot be resolved. 
&lt;BR /&gt;There seems to be a problem in the way the code is generated for the JOIN. 
&lt;BR /&gt;Am I doing something wrong? 
&lt;BR /&gt;How can the fields from the lookup table be used in the Join-On expression? 
&lt;BR /&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDq1.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147472i6AC4763744CCAE0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDq1.jpg" alt="0683p000009MDq1.jpg" /&gt;&lt;/span&gt; 
&lt;IMG src="https://community.qlik.com/" /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDlS.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149502i26F4C18924239073/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDlS.jpg" alt="0683p000009MDlS.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Fri, 15 Feb 2013 19:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338148#M106416</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-15T19:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Error in tMap join expression using row variables from lookup input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338149#M106417</link>
      <description>This might be a work around, but from what I can see in the screenshots, you might try to use a tMap early on to concatenate the firstname, lastname, and middlename first into a single field. You will need to do this for your lookup files as well. Then when you join, you will really only be joining on one field. Joining on one field, might get you past this issue. 
&lt;BR /&gt;also, make sure you trim and UCASE or whatever you want to to scrub the firstname, lastname, and middle name fields before you concatenate it.</description>
      <pubDate>Sun, 17 Feb 2013 22:11:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338149#M106417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-17T22:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Error in tMap join expression using row variables from lookup input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338150#M106418</link>
      <description>Thanks for your suggestion. I've already used the "earlier tMap processing" idea to improve the match (and every field has been normalized, including to UCASE, thanks). But it doesn't get me far enough. 
&lt;BR /&gt;I need to join on several fields, including middle name fields where values can be blank, an initial, or a complete middle name. I need to JOIN records if the complete middle names match, if the first letter of a complete middle name of *either* input row matches an initial in the other, or, if the field in *either* input row is blank. The best I've done so far is to (pre) trim both fields to initials, which achieves about 75% sensitivity (good matches detected) and 95% specificity (bad matches correctly not selected). The largest error (missed good matches) comes from the case where one of the input row middle name fields is blank and the other contains a value. 
&lt;BR /&gt;If I could use a field in the lookup row as a variable in the JOIN expression, like it seems should work, I'd have a really good JOIN. 
&lt;BR /&gt;Anybody have any suggestions?</description>
      <pubDate>Tue, 19 Feb 2013 20:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338150#M106418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-19T20:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Error in tMap join expression using row variables from lookup input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338151#M106419</link>
      <description>If I've seen it right you try to put a comment in tMap expression field and this is not supported.</description>
      <pubDate>Tue, 19 Feb 2013 20:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338151#M106419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-19T20:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Error in tMap join expression using row variables from lookup input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338152#M106420</link>
      <description>You may be right, but I've been putting comments in expressions regularly and they have not caused any problems. I've observed them in the generated code and they look just fine.
&lt;BR /&gt;I don't think they are the cause of the "name cannot be resolved" errors.
&lt;BR /&gt;Can someone from Talend comment on this?</description>
      <pubDate>Tue, 19 Feb 2013 21:39:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338152#M106420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-19T21:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Error in tMap join expression using row variables from lookup input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338153#M106421</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;If I could use a field in the lookup row as a variable in the JOIN expression, like it seems should work, I'd have a really good JOIN.&lt;BR /&gt;Anybody have any suggestions?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;You can't use the row name(Bad_Ones) as a variable in its expression in the look row. 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 21 Feb 2013 04:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338153#M106421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-21T04:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Error in tMap join expression using row variables from lookup input</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338154#M106422</link>
      <description>OK. Then maybe the Variable list in the Expression Builder should not offer the fields from the lookup row for use in lookup row expressions when they cannot be used (as shown in image 1).
&lt;BR /&gt;I'm marking this thread Resolved, but with disappointment.</description>
      <pubDate>Tue, 26 Feb 2013 15:39:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Error-in-tMap-join-expression-using-row-variables-from/m-p/2338154#M106422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-26T15:39:34Z</dc:date>
    </item>
  </channel>
</rss>

