Customer Dimension

Details and interaction with Power BI

DimCustomer

Regular dimension with the following columns:

  • le_id - Long - Foreign key to DimLegalEntity 
  • customer_id - Long - Primary key for this dimension
  • customer_number - String - The customer number
  • customer_name - String - The customer name
  • customer_postal_city - String - The customer postal city
  • customer_postal_country - String - The customer postal country

DimCustomerHierarchy

Regular hierarchy dimension it contains the following columns:

  • le_id - Long - Foreign key to DimLegalEntity 
  • customer_hierarchy_id - Long - Primary key for this dimension
  • customer_id - Long - Primary key for this dimension
  • mode - String - "Le" or "Cg" depending on whether the hierarchy belongs to the individual legal entity or to the corporate group
  • group_n_code - String - The hierarchy group's identifier
  • group_n_name - String - The hierarchy group's name
  • group_n_sort_order - Integer - The hierarchy group's sort order