<?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 Power BI data model: Local vs Global dim_tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-data-model-Local-vs-Global-dim-tables/m-p/2281922#M55850</link>
    <description>&lt;P&gt;Hi to the community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working for client with multiple corporate entities in a Power BI development project. Analyzsing the data structure of their ERP System (RDB) I noticed, that all dimension tables have dublicates for each of the companies entities, but no unique identifier for a customer ID or product ID. Even some tables are called dim_global_something, the structure is all the same and look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviousely that causes m2m relationships to the fact tables in my PBI data model and makes the ETL pretty complicated to get to a functional model. As the ERP system is a third party product, we cannot go to the source to change the data or table structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question&lt;/STRONG&gt;: is that a common scenario in RDBMS based ERP Systems e.g. SAP and how to deal with that? Any tips from experienced data model experts in the community?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glad to hear from you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Benedikt&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 15:19:10 GMT</pubDate>
    <dc:creator>datadonuts</dc:creator>
    <dc:date>2022-01-13T15:19:10Z</dc:date>
    <item>
      <title>Power BI data model: Local vs Global dim_tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-data-model-Local-vs-Global-dim-tables/m-p/2281922#M55850</link>
      <description>&lt;P&gt;Hi to the community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working for client with multiple corporate entities in a Power BI development project. Analyzsing the data structure of their ERP System (RDB) I noticed, that all dimension tables have dublicates for each of the companies entities, but no unique identifier for a customer ID or product ID. Even some tables are called dim_global_something, the structure is all the same and look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviousely that causes m2m relationships to the fact tables in my PBI data model and makes the ETL pretty complicated to get to a functional model. As the ERP system is a third party product, we cannot go to the source to change the data or table structure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question&lt;/STRONG&gt;: is that a common scenario in RDBMS based ERP Systems e.g. SAP and how to deal with that? Any tips from experienced data model experts in the community?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Glad to hear from you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Benedikt&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 15:19:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-data-model-Local-vs-Global-dim-tables/m-p/2281922#M55850</guid>
      <dc:creator>datadonuts</dc:creator>
      <dc:date>2022-01-13T15:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI data model: Local vs Global dim_tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-data-model-Local-vs-Global-dim-tables/m-p/2282127#M55861</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="244606" data-lia-user-login="datadonuts" class="lia-mention lia-mention-user"&gt;datadonuts&lt;/a&gt; , Assuming this is a multi-tenant env.&lt;/P&gt;
&lt;P&gt;In such case we create concatenated keys [company ID] &amp;amp; "_" &amp;amp; [DIm ID]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;say Dim ID can be more than 10 digit&lt;/P&gt;
&lt;P&gt;[company ID] *1000000000000 +&amp;nbsp; [DIm ID]&amp;nbsp; // number key multiplied by 12 digit &lt;/P&gt;
&lt;P&gt;in both fact and dimension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ideal, is to have data warehouse generate surrogate key or do master data management&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 16:43:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-BI-data-model-Local-vs-Global-dim-tables/m-p/2282127#M55861</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-01-13T16:43:07Z</dc:date>
    </item>
  </channel>
</rss>

