<?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 Linking two tables with key when values are missing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626383#M733714</link>
    <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help with an issue that's driving me crazy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have two tables where scrap data and used quantity is stored:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/19717i54C196C2685CF690/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, I do not have scrap occurencies every month, 201904 and 201907 there were no scrapping done.&amp;nbsp;&lt;BR /&gt;The link between the tables is Location&amp;amp;YearMonth (Key) - The two tables cannot be joined, this is just a simplied example of my issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The resulting table looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="clipboard_image_1.png" style="width: 391px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/19723iA90FC683A5180FCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, the data for 201904 and 201907 is not linked between the tables as there where no scrap in those months.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The expected result is this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="clipboard_image_2.png" style="width: 393px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/19724i249577BFA7C86D55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_2.png" alt="clipboard_image_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I solve this problem?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;//Hoowling&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:25:45 GMT</pubDate>
    <dc:creator>Hoowling</dc:creator>
    <dc:date>2024-11-16T02:25:45Z</dc:date>
    <item>
      <title>Linking two tables with key when values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626383#M733714</link>
      <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help with an issue that's driving me crazy.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have two tables where scrap data and used quantity is stored:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="clipboard_image_0.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/19717i54C196C2685CF690/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_0.png" alt="clipboard_image_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, I do not have scrap occurencies every month, 201904 and 201907 there were no scrapping done.&amp;nbsp;&lt;BR /&gt;The link between the tables is Location&amp;amp;YearMonth (Key) - The two tables cannot be joined, this is just a simplied example of my issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The resulting table looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="clipboard_image_1.png" style="width: 391px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/19723iA90FC683A5180FCF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_1.png" alt="clipboard_image_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, the data for 201904 and 201907 is not linked between the tables as there where no scrap in those months.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The expected result is this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="clipboard_image_2.png" style="width: 393px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/19724i249577BFA7C86D55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clipboard_image_2.png" alt="clipboard_image_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I solve this problem?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;//Hoowling&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:25:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626383#M733714</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2024-11-16T02:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Linking two tables with key when values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626404#M733715</link>
      <description>Why dont you left join scrapped quantity table to Used quantity table? (Assuming Used quantity will always have data)&lt;BR /&gt;fact:&lt;BR /&gt;load&lt;BR /&gt;yearmonth&lt;BR /&gt;,location&lt;BR /&gt;,usedquantity&lt;BR /&gt;from xyz;&lt;BR /&gt;left join(fact)&lt;BR /&gt;load&lt;BR /&gt;yearmonth&lt;BR /&gt;,location&lt;BR /&gt;,scrappedquantity&lt;BR /&gt;from abc;</description>
      <pubDate>Fri, 20 Sep 2019 14:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626404#M733715</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-09-20T14:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Linking two tables with key when values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626407#M733716</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if you use simple join, you'll never lose rows&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 14:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626407#M733716</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-09-20T14:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Linking two tables with key when values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626421#M733717</link>
      <description>&lt;P&gt;It's quite simple if you &lt;U&gt;&lt;STRONG&gt;don't&lt;/STRONG&gt;&lt;/U&gt; joined or associate the tables else just concatenate (respectively union in sql) them. This could be done directly which creates an asynchron table or you could put both quantities in a single field and adding another field which contained the value of 'Scrapped' respectively 'Used' to be able to differ your quantities.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 15:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1626421#M733717</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-09-20T15:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Linking two tables with key when values are missing</title>
      <link>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1630156#M733718</link>
      <description>&lt;P&gt;I know you said you did not want to Join things, here is a Design Blog post that could help I think:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Don-t-join-use-Applymap-instead/ba-p/1467592" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Don-t-join-use-Applymap-instead/ba-p/1467592&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Couple others that might be handy as well:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/To-Join-or-not-to-Join/ba-p/1463102" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/To-Join-or-not-to-Join/ba-p/1463102&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Concatenate-vs-Link-Table/ba-p/1467569" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Concatenate-vs-Link-Table/ba-p/1467569&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2019 15:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Linking-two-tables-with-key-when-values-are-missing/m-p/1630156#M733718</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-01T15:52:49Z</dc:date>
    </item>
  </channel>
</rss>

