Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
datadonuts
Advocate II
Advocate II

Power BI data model: Local vs Global dim_tables

Hi to the community,

 

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:

 

datadonuts_1-1642086987853.png

 

 

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.

 

My Question: 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?

 

Thanks so much

 

Glad to hear from you

 

Benedikt 

 

 

 

 

 

 

 

 

1 REPLY 1
amitchandak
Super User
Super User

@datadonuts , Assuming this is a multi-tenant env.

In such case we create concatenated keys [company ID] & "_" & [DIm ID] 

say Dim ID can be more than 10 digit

[company ID] *1000000000000 +  [DIm ID]  // number key multiplied by 12 digit

in both fact and dimension.

 

Ideal, is to have data warehouse generate surrogate key or do master data management

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.