Create a Mart Dimension

A Model Object of type Mart Dimension can be created in the Datamart Layer.

What is a Mart Dimension

A Mart Dimension can use historized or non-historized sources from any persistent layer in any combination.

Historized Mart Dimensions can be loaded only from historized sources - the Datamart layer does not create history but only reads and transforms history from historized sources.

This means: there has to be at least one historized source to create an SCD2 historized dimension.

A Mart Dimension can contain any combination of SCD1 and SCD2 (and SCD0) attributes - but all SCD2 attributes should be loaded from historized sources.

When creating a Mart Dimension, the user does not need to join the historized source tables so, that the combined history is reflected correctly.

The user can join the historized source tables as if they were non-historized.

The generated code will take care of the correct history.

Creation steps

There are two possibilities to create a Mart Dimension Model Object:

If all the Dataflow Model Objects are not historized, there is no need to define this Property.

    • Define the Property Historization Type on each Target Term that is not a Default Term
      • If the Source Term is not historized, set all the Target Terms as SCD1 (or SCD0)
      • If the Source Term is historized, set the concerned Target Term as SCD2

Properties

A Mart Dimension Model Object can be configured through the following Properties:

Default Terms

A Mart Dimension Model Object will include the following Default Terms: