<?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: join two tables using a dynamic key in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1509904#M6223</link>
    <description>&lt;P&gt;Example:&lt;BR /&gt;(Table A):&lt;BR /&gt;X, Y, Z&lt;BR /&gt;M, UK, L&lt;/P&gt;&lt;P&gt;(Table B):&lt;BR /&gt;X, Y, Z,W&lt;BR /&gt;M,*,*,1&lt;BR /&gt;M,N,*,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;I would like to do an applymap on table A using as a Key "X &amp;amp; Y &amp;amp; Z" to get W column from B.&lt;BR /&gt;However, table B contains '*' sometimes which means "all values". In this case, I would like to ignore the columns where I have '*' and only use as a Key the rest.&lt;BR /&gt;&lt;BR /&gt;In the example posted, only X would be my key for the first row.&lt;BR /&gt;X&amp;amp;Y would be the key for the second row, etc.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Nov 2018 16:16:54 GMT</pubDate>
    <dc:creator>Alex</dc:creator>
    <dc:date>2018-11-20T16:16:54Z</dc:date>
    <item>
      <title>join two tables using a dynamic key</title>
      <link>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1509883#M6218</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I would like to join two tables (A and B) with the following structure:&lt;BR /&gt;&lt;BR /&gt;A:&lt;BR /&gt;X, Y, Z&lt;BR /&gt;&lt;BR /&gt;B:&amp;nbsp;&lt;BR /&gt;X, Y, Z, P&lt;BR /&gt;&lt;BR /&gt;The point is that X, Y or Z value is '*' in table B what means "all possible values".&lt;BR /&gt;In case X would be '*' I would like to join to A using only Y and Z.&lt;BR /&gt;&lt;BR /&gt;How can I do that? I know in SQL, for instance, you can use functions like isnull(X,'*')&amp;nbsp;so you're kind of ignoring some columns once joining.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 15:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1509883#M6218</guid>
      <dc:creator>Alex</dc:creator>
      <dc:date>2018-11-20T15:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: join two tables using a dynamic key</title>
      <link>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1509898#M6220</link>
      <description>Can you share some sample data with your expected output please.? Not clear what exactly you are trying to do. You can use ISNULL() in QV too.</description>
      <pubDate>Tue, 20 Nov 2018 15:59:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1509898#M6220</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-11-20T15:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: join two tables using a dynamic key</title>
      <link>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1509904#M6223</link>
      <description>&lt;P&gt;Example:&lt;BR /&gt;(Table A):&lt;BR /&gt;X, Y, Z&lt;BR /&gt;M, UK, L&lt;/P&gt;&lt;P&gt;(Table B):&lt;BR /&gt;X, Y, Z,W&lt;BR /&gt;M,*,*,1&lt;BR /&gt;M,N,*,2&lt;/P&gt;&lt;P&gt;&amp;nbsp;I would like to do an applymap on table A using as a Key "X &amp;amp; Y &amp;amp; Z" to get W column from B.&lt;BR /&gt;However, table B contains '*' sometimes which means "all values". In this case, I would like to ignore the columns where I have '*' and only use as a Key the rest.&lt;BR /&gt;&lt;BR /&gt;In the example posted, only X would be my key for the first row.&lt;BR /&gt;X&amp;amp;Y would be the key for the second row, etc.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 16:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1509904#M6223</guid>
      <dc:creator>Alex</dc:creator>
      <dc:date>2018-11-20T16:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: join two tables using a dynamic key</title>
      <link>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1510083#M6265</link>
      <description>&lt;P&gt;What is your expected output?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 03:21:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1510083#M6265</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-11-21T03:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: join two tables using a dynamic key</title>
      <link>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1510258#M6335</link>
      <description>&lt;P&gt;One way might be to use multiple joinings each one with the appropriate fields and where-statements. But before I would check:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Mapping-as-an-Alternative-to-Joining/ba-p/1473454" target="_blank"&gt;Mapping-as-an-Alternative-to-Joining&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 09:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/join-two-tables-using-a-dynamic-key/m-p/1510258#M6335</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-11-21T09:46:12Z</dc:date>
    </item>
  </channel>
</rss>

