Create a Raw Vault Composite

A Model Object of type Raw Vault Composite can be created in the Raw Vault Layer.

What is a Raw Vault Composite

A Raw Vault  Composite represents an intermediate object that holds temporary data to build readable and traceable mappings.

Often, they represent a sub-select or common table expression (CTE).

They can contain joins, aggregation, expressions, filters, and default values.

Use case example

Source data

We will use this Model Object Type to split our sales data into reseller and internet sales.

Our source data are from the Stage SalesOrderHeader.

The Term OnlineOrderFlag lets us distinguish between resellers and the internet in sales.

Let's create a Raw Vault Composite with the Wizard from the Stage SalesOrderHeader:

Rename it SC_ResellerSales.

Add the following where clause for the Set1:

s1.OnlineOrderFlag = 0

Load of data

The resulting view after the data load is:

Only the sales from resellers are inside the view.

Creation steps

There are two possibilities to create a Raw Vault Composite Model Object:

      If a Business Key is defined in the Stage Model Object, the same one will be defined in the Raw Vault Composite Model Object when you auto-map it.

      Properties

      A Raw Vault Composite Model Object can be customized through the following Properties:

      Default Terms

      A Raw Vault Composite Model Object will include the following Default Terms: