<?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 OR operator in JOIN in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195608#M138</link>
    <description>&lt;P&gt;I would try it on the output to see if you get the results you want.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2020 15:35:51 GMT</pubDate>
    <dc:creator>cmendels</dc:creator>
    <dc:date>2020-02-07T15:35:51Z</dc:date>
    <item>
      <title>tMap OR operator in JOIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195605#M135</link>
      <description>&lt;P&gt;All, in tMap how can I perform what's equivalent to a SQL OR within a JOIN? For example see below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SELECT * FROM MainFlow mf&lt;/P&gt;
&lt;P&gt;JOIN LookUp lu ON mf.colA = lu.colA AND (mf.colB = lu.colB &lt;FONT size="4" color="#333333"&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/FONT&gt; mf.colC = lu.colC)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to use a expression filter but does not do the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mf.colB== lu.colB || mf.colC == lu.ColC&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:19:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195605#M135</guid>
      <dc:creator>jimbo20814</dc:creator>
      <dc:date>2024-11-16T03:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: tMap OR operator in JOIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195606#M136</link>
      <description>&lt;P&gt;Did you place the expression in the filter on your lookup table or on your output?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:31:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195606#M136</guid>
      <dc:creator>cmendels</dc:creator>
      <dc:date>2020-02-07T15:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: tMap OR operator in JOIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195607#M137</link>
      <description>&lt;P&gt;I placed on the lookup table. Do I need to place on output?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195607#M137</guid>
      <dc:creator>jimbo20814</dc:creator>
      <dc:date>2020-02-07T15:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: tMap OR operator in JOIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195608#M138</link>
      <description>&lt;P&gt;I would try it on the output to see if you get the results you want.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195608#M138</guid>
      <dc:creator>cmendels</dc:creator>
      <dc:date>2020-02-07T15:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: tMap OR operator in JOIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195609#M139</link>
      <description>&lt;P&gt;Actually, no that won't work/make sense because it's really a part of the JOIN between MainFlow and LookUp, once it's the output it's too late. Hmm, I figure this is a common task/requirement, an OR in a JOIN.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195609#M139</guid>
      <dc:creator>jimbo20814</dc:creator>
      <dc:date>2020-02-07T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: tMap OR operator in JOIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195610#M140</link>
      <description>&lt;P&gt;This depends on what you want. If both conditions in the OR match, I assume you only want the 1 row returned? If so, this can be done with a combination of tMap variables and output filters. I'll demonstrate a REALLY simplified version of how to do this in a tMap below.....&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-02-07 at 16.33.30.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M92N.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128758i7AADD44E252EC178/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M92N.png" alt="0683p000009M92N.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;In this example I have two datasets, both with columns a, b and c. The join is on columns and b OR c. I do not join the input tables, which creates a cartesian join scenario. I then create two tMap variables of type boolean. I compare row1.b with row2.b to see if it matches. I also compare row1.c with row2.c to see if that matches. In the output table I apply a filter which uses the two tMap variables. If either of them are true, the row is returned.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 16:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195610#M140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-07T16:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: tMap OR operator in JOIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195611#M141</link>
      <description>&lt;P&gt;Bingo! thanks so much rhall_2_0.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 17:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195611#M141</guid>
      <dc:creator>jimbo20814</dc:creator>
      <dc:date>2020-02-07T17:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: tMap OR operator in JOIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195612#M142</link>
      <description>&lt;P&gt;No problem, I'm glad it helped &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 20:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMap-OR-operator-in-JOIN/m-p/2195612#M142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-09T20:16:08Z</dc:date>
    </item>
  </channel>
</rss>

