<?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 Join two tables - only no matched rows in Dashboards &amp; Analytics Discussions</title>
    <link>https://community.incorta.com/t5/dashboards-analytics-discussions/join-two-tables-only-no-matched-rows/m-p/4888#M512</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I would need help, I have both dataset below:&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Company item&lt;/STRONG&gt; - contains all items assigned to company and branch&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;Stock&lt;/STRONG&gt; - contains stock value assigned to company, branch and items (there are only items having stock value &amp;gt; 0)&lt;/P&gt;&lt;P&gt;What I need to get is only SKU which do not have stock in table &lt;STRONG&gt;Company item. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When I use aggregation table I get only items containg in table &lt;STRONG&gt;Stock&lt;/STRONG&gt; (having stock value)&lt;/P&gt;&lt;P&gt;Please could somebedy help me which filter I suppose to use?&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Aug 2023 11:26:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-24T11:26:25Z</dc:date>
    <item>
      <title>Join two tables - only no matched rows</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/join-two-tables-only-no-matched-rows/m-p/4888#M512</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I would need help, I have both dataset below:&lt;/P&gt;&lt;P&gt;1. &lt;STRONG&gt;Company item&lt;/STRONG&gt; - contains all items assigned to company and branch&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;Stock&lt;/STRONG&gt; - contains stock value assigned to company, branch and items (there are only items having stock value &amp;gt; 0)&lt;/P&gt;&lt;P&gt;What I need to get is only SKU which do not have stock in table &lt;STRONG&gt;Company item. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When I use aggregation table I get only items containg in table &lt;STRONG&gt;Stock&lt;/STRONG&gt; (having stock value)&lt;/P&gt;&lt;P&gt;Please could somebedy help me which filter I suppose to use?&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 11:26:25 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/join-two-tables-only-no-matched-rows/m-p/4888#M512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-24T11:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables - only no matched rows</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/join-two-tables-only-no-matched-rows/m-p/4904#M515</link>
      <description>&lt;P&gt;Can you share join details between 2 tables?&lt;/P&gt;&lt;P&gt;Also, share screen shot or more details about&amp;nbsp;&lt;SPAN&gt;aggregation table that your creating on top of these 2 tables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 16:15:07 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/join-two-tables-only-no-matched-rows/m-p/4904#M515</guid>
      <dc:creator>anurag</dc:creator>
      <dc:date>2023-08-29T16:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Join two tables - only no matched rows</title>
      <link>https://community.incorta.com/t5/dashboards-analytics-discussions/join-two-tables-only-no-matched-rows/m-p/4909#M516</link>
      <description>&lt;P&gt;As Anurag mentioned, it's very helpful to have data and a mockup ( even in Excel ) of what you want in order to answer questions.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, I&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;think&lt;/STRONG&gt;&lt;/EM&gt; you want to model company item as the child and join to to stock on the SKU - then filter on stock.sku IS NULL&amp;nbsp; which will return all the items from company item which do not have a corresponding SKU in the stock table.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, create a formula column in the company item table something like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;lookup(qty, stock.sku, companyitem.sku)&amp;nbsp;&lt;/P&gt;&lt;P&gt;and just don't expose the stock table to the business at all.&amp;nbsp; &amp;nbsp; Or an MV combining the two tables.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 13:03:31 GMT</pubDate>
      <guid>https://community.incorta.com/t5/dashboards-analytics-discussions/join-two-tables-only-no-matched-rows/m-p/4909#M516</guid>
      <dc:creator>RADSr</dc:creator>
      <dc:date>2023-08-31T13:03:31Z</dc:date>
    </item>
  </channel>
</rss>

