<?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 Resolve Many to Many relationship Joins issue via Incorta Virtual Joins in Data &amp; Schema Discussions</title>
    <link>https://community.incorta.com/t5/data-schema-discussions/resolve-many-to-many-relationship-joins-issue-via-incorta/m-p/7113#M604</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;BR /&gt;I have a CustomerGroup table where a customer can appear multiple times (one row per Concept per time period), so customer_code is not unique in this table. I want users to filter by Concept on a dashboard and have that filter apply to our sales-orders table (SL_CustomerOrders) - showing only sales for customers who belong to the selected Concept -&amp;nbsp;&lt;STRONG&gt;without duplicating or losing any sales rows&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Schema setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Customer (master table, unique key: Code + Company)&lt;/LI&gt;&lt;LI&gt;CustomerGroup&amp;nbsp;- Child of Customer, joined on CustomerGroup.Code = Customer.Code AND CustomerGroup.Company = Customer.Company. Multiple rows per customer (one per Concept/period).&lt;/LI&gt;&lt;LI&gt;SL_CustomerOrders&amp;nbsp;- Child of Customer, joined on SL_CustomerOrders.Customer = Customer.Code AND SL_CustomerOrders.Company_Customer_Key = Customer.Company.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So both CustomerGroup and SL_CustomerOrders are Children of the same Parent, Customer.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I tried:&lt;/STRONG&gt;&lt;BR /&gt;I want to filter Concept (from CustomerGroup) and have it cascade to SL_CustomerOrders via Customer as the bridge, without joining CustomerGroup directly to SL_CustomerOrders (that caused sales duplication when tried via MV/SQL join).&lt;/P&gt;&lt;P&gt;I set CustomerGroup as the Base Table on the insight, but the Query Plan Viewer shows SL_CustomerOrders completely disconnected from Customer/CustomerGroup in the plan - [attach query plan screenshot].&lt;/P&gt;&lt;P&gt;I then tried switching the Base Table to SL_CustomerOrders instead, expecting Incorta to traverse SL_CustomerOrders → Customer → CustomerGroup for the filter, but i end up with same result: concept from CustomerGroup&amp;nbsp;as filter has no effect.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is Base Table the right mechanism for this "shared parent, filter cascades to sibling child table" pattern, or do I need a different approach (e.g., a bridge/junction table, or restructuring the joins)?&lt;/LI&gt;&lt;LI&gt;Is there a known limitation with propagating filters between two Child tables that share a common Parent, when neither is unique on the join key?&lt;/LI&gt;&lt;LI&gt;Any working examples of a similar "dimension used purely as a filter source for a sibling fact table" pattern would be really helpful.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Happy to share more schema/query plan screenshots if useful.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2026 09:37:39 GMT</pubDate>
    <dc:creator>nikhil_cr</dc:creator>
    <dc:date>2026-09-15T09:37:39Z</dc:date>
    <item>
      <title>Resolve Many to Many relationship Joins issue via Incorta Virtual Joins</title>
      <link>https://community.incorta.com/t5/data-schema-discussions/resolve-many-to-many-relationship-joins-issue-via-incorta/m-p/7113#M604</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Goal:&lt;/STRONG&gt;&lt;BR /&gt;I have a CustomerGroup table where a customer can appear multiple times (one row per Concept per time period), so customer_code is not unique in this table. I want users to filter by Concept on a dashboard and have that filter apply to our sales-orders table (SL_CustomerOrders) - showing only sales for customers who belong to the selected Concept -&amp;nbsp;&lt;STRONG&gt;without duplicating or losing any sales rows&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Schema setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Customer (master table, unique key: Code + Company)&lt;/LI&gt;&lt;LI&gt;CustomerGroup&amp;nbsp;- Child of Customer, joined on CustomerGroup.Code = Customer.Code AND CustomerGroup.Company = Customer.Company. Multiple rows per customer (one per Concept/period).&lt;/LI&gt;&lt;LI&gt;SL_CustomerOrders&amp;nbsp;- Child of Customer, joined on SL_CustomerOrders.Customer = Customer.Code AND SL_CustomerOrders.Company_Customer_Key = Customer.Company.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So both CustomerGroup and SL_CustomerOrders are Children of the same Parent, Customer.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What I tried:&lt;/STRONG&gt;&lt;BR /&gt;I want to filter Concept (from CustomerGroup) and have it cascade to SL_CustomerOrders via Customer as the bridge, without joining CustomerGroup directly to SL_CustomerOrders (that caused sales duplication when tried via MV/SQL join).&lt;/P&gt;&lt;P&gt;I set CustomerGroup as the Base Table on the insight, but the Query Plan Viewer shows SL_CustomerOrders completely disconnected from Customer/CustomerGroup in the plan - [attach query plan screenshot].&lt;/P&gt;&lt;P&gt;I then tried switching the Base Table to SL_CustomerOrders instead, expecting Incorta to traverse SL_CustomerOrders → Customer → CustomerGroup for the filter, but i end up with same result: concept from CustomerGroup&amp;nbsp;as filter has no effect.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is Base Table the right mechanism for this "shared parent, filter cascades to sibling child table" pattern, or do I need a different approach (e.g., a bridge/junction table, or restructuring the joins)?&lt;/LI&gt;&lt;LI&gt;Is there a known limitation with propagating filters between two Child tables that share a common Parent, when neither is unique on the join key?&lt;/LI&gt;&lt;LI&gt;Any working examples of a similar "dimension used purely as a filter source for a sibling fact table" pattern would be really helpful.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Happy to share more schema/query plan screenshots if useful.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2026 09:37:39 GMT</pubDate>
      <guid>https://community.incorta.com/t5/data-schema-discussions/resolve-many-to-many-relationship-joins-issue-via-incorta/m-p/7113#M604</guid>
      <dc:creator>nikhil_cr</dc:creator>
      <dc:date>2026-09-15T09:37:39Z</dc:date>
    </item>
  </channel>
</rss>

