Skip to main content
Version: Early Access

Dimension_Types

This topic explains how data is stored in the dimension table.

Dimension Types distinguish how data is stored in the dimension table. This page describes the different types of dimensions available in the Digital.ai Agility data mart.

Type 1

In a Type 1 dimension, each row in the table contains the latest information from the operational system.

KeyBusinessKeyName
11Foo

If the asset identified with BusinessKey 1 changed names in the operational system, the data mart loader would update the existing row in the dimension with the new name. The previous name is not retained.

KeyBusinessKeyName
11New Name

Type 2

In a Type 2 dimension, a new row is inserted into the table when data changes in the operational system.

KeyBusinessKeyNameVersion
11Foo(Null)

If the asset identified with BusinessKey 1 changed names in the operational system, the data mart loader would add a new row to this dimension with the new name. The previous row remains the same.

KeyBusinessKeyNameVersion
11Foo0
21New Name1

Type 3

In a Type 3 dimension, a separate column is used to represents old values.

KeyBusinessKeyNameOld_Name
11Foo(Null)

If the asset identified with BusinessKey 1 changed names in the operational system, the data mart loader would update the existing row in the dimension with the new name. The old name is moved to a separate column and the Name column holds the current name

KeyBusinessKeyNameOld_Name
11New NameFoo