<?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: Use Lookup Rows' Own Column as Variable in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234264#M23682</link>
    <description>we did not get your message!</description>
    <pubDate>Tue, 02 Oct 2018 10:06:55 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2018-10-02T10:06:55Z</dc:date>
    <item>
      <title>Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234263#M23681</link>
      <description>&lt;P&gt;I'd like to have a conditional statement in the join expression key where it checks the value of ref_type, and pick the&amp;nbsp;appropriate column&amp;nbsp; from out3 as key to match with ref_code (if ref_type=='record type', then&amp;nbsp;ref_code = record_type, termination_cause if == 'termination_cause'&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 484px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M08h.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139045iD75F2955AEA60FE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M08h.png" alt="0683p000009M08h.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;Similarly in query it is something like:&lt;/P&gt; 
&lt;PRE&gt;select a.calling_number, b.ref_code, b.value from stg.cdr_smsc_tango a, SOR.REF_CDR_SMSC b
where case
when b.ref_type == 'RECORD_TYPE' then a.record_type=b.ref_code
when b.ref_type == 'TERMINATION_CAUSE' then a.TERMINATION_CAUSE=b.ref_code
when b.ref_type == 'MSG_STATE' then a.MSG_STATE=b.ref_code
when b.ref_type == 'MSG_STATUS' then a.MSG_STATUS=b.ref_code
END&lt;/PRE&gt; 
&lt;P&gt;Is it possible to do so in Talend?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234263#M23681</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234264#M23682</link>
      <description>we did not get your message!</description>
      <pubDate>Tue, 02 Oct 2018 10:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234264#M23682</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-02T10:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234265#M23683</link>
      <description>Sorry there was an error with my internet connection, I've edited the message. Thanks</description>
      <pubDate>Wed, 03 Oct 2018 08:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234265#M23683</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T08:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234266#M23684</link>
      <description>&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M05Z.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147536iD71888D3D8B96908/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M05Z.png" alt="0683p000009M05Z.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;As mentioned in the screenshot , you can put the or condition for the join and then put the condition as row7.id_lookup == row6.id?id : id2 for the output column on the output side of the tmap, Add nested if statement for more column values as id3,4 and so on.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks ,&lt;/P&gt; 
&lt;P&gt;Praveen.&lt;/P&gt; 
&lt;P&gt;Please mark it as solved if applicable and kudos as bonus !&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234266#M23684</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T09:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234267#M23685</link>
      <description>I think you get my message wrong, in my case I want to check the value of ref_type and put the join statement with ref_code, not ref_type</description>
      <pubDate>Wed, 03 Oct 2018 09:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234267#M23685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T09:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234268#M23686</link>
      <description>you can remove all link between input tables (set retrieve all matches) and add your condition on the output.
&lt;BR /&gt;it's sometime more easyer.</description>
      <pubDate>Wed, 03 Oct 2018 09:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234268#M23686</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-03T09:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234269#M23687</link>
      <description>&lt;P&gt;Do I choose this as the match model then?&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Capture.PNG" style="width: 759px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M09p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151414i9B7E8BB0496F9388/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M09p.png" alt="0683p000009M09p.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 09:57:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234269#M23687</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T09:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234270#M23688</link>
      <description>so you are now into a full join (try it). then you just have to add your filter on output side.</description>
      <pubDate>Wed, 03 Oct 2018 09:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234270#M23688</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-03T09:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234271#M23689</link>
      <description>Okay I understand. Thanks!</description>
      <pubDate>Wed, 03 Oct 2018 10:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234271#M23689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-03T10:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use Lookup Rows' Own Column as Variable in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234272#M23690</link>
      <description>tag solved if done.&lt;BR /&gt;good luck</description>
      <pubDate>Wed, 03 Oct 2018 10:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-Lookup-Rows-Own-Column-as-Variable-in-tMap/m-p/2234272#M23690</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-10-03T10:02:59Z</dc:date>
    </item>
  </channel>
</rss>

