Skip to content
  • There are no suggestions because the search field is empty.

BusinessVault Composite

Applies to
Platform: Microsoft SQL Server · Snowflake · Snowflake dbt · Databricks · Databricks dbt · Fabric Lakehouse · Fabric Warehouse · Oracle
Architecture: Data Vault

A BusinessVault Composite prepares Raw Vault data with joins, filters and expressions in the Business Vault layer, as a view or a reloaded table. Use it to derive the input of Business Vault objects from Hubs, Links, satellites and views, for example to combine the business keys of a Link for a Business Link. The Business Vault objects then read it like a source.

Earlier versions of this article spelled the type "Business Vault Composite".

Sources and relationships

A BusinessVault Composite reads Raw Vault objects: Hubs, Links, Driving Key Links, Hierarchical Links, Same As Links, Satellites, Link Satellites, Non-Historized Satellites, Non-Historized Link Satellites, Record Tracking Satellites, Record Tracking Link Satellites, Effectivity Satellites and Effectivity Link Satellites. It also reads Current Views, History Views, Hierarchy Flattens and other BusinessVault Composites. It has exactly one dataflow, with one or more dataflow sets, and no relationships. Its terms are the columns it delivers, at least one besides the Default Terms.

The Business Vault types, Hierarchy Flatten, other BusinessVault Composites and Vault Out can read it. In a Vault and Mart project, a Mart Composite that reads a BusinessVault Composite raises validation warning ID-21002, which names Vault Out as the object to read instead.

Create a BusinessVault Composite

Add join, filter and term expressions in the dataflow set. The source view reads the result views of its Raw Vault sources.

Implementation types

  • Virtual (default): the composite is a view over its sources. A query always shows the current content of the sources, and there is no loader.
  • Cached: the composite has a table. Its loader empties the table and inserts all rows of the source view, with the load timestamp as BG_LoadTimestamp. A query shows the content of the last load.

Properties

The project property Create Result Views also applies.

Default Terms

  • BG_LoadTimestamp: with Cached, the load that filled the table. With Virtual, empty unless you map it.
  • BG_SourceSystem: the source system, empty unless you map it.

Generated objects

The part flow of BusinessVault Composite shows which parts it can get and under which settings; the legend explains the symbols.

Part flow of BusinessVault Composite, Core Composite, Mart Composite, Mart Out, RawVault Composite, Store Composite and Vault Out, top to bottom. The main path on the left, with the default settings, runs _Source, _Loader, Table, _Result. Decisions with their values, the default or main value first: Deduplication Method (None; Distinct, Partition); Implementation Type (Virtual; Cached); Create Result Views (true; false). Detours add the other parts: _Deduplication.

These are the names on Microsoft SQL Server for the BusinessVault Composite load_salestransaction_virtual_bcmp, in the Business Vault schema. As a Virtual composite it has only the source view and the result view; the other rows exist with deduplication or with Cached:

RoleGenerated namePurposeGenerated when
SourceBDV_BC_load_salestransaction_virtual_bcmp_SourceJoins, filters and mapsAlways
DeduplicationBDV_BC_load_salestransaction_virtual_bcmp_DeduplicationRemoves duplicate rowsDeduplication Method Distinct or Partition
LoaderBDV_BC_load_salestransaction_virtual_bcmp_LoaderReloads the tableImplementation Type Cached
StorageBDV_BC_load_salestransaction_virtual_bcmpComposite tableImplementation Type Cached
ResultBDV_BC_load_salestransaction_virtual_bcmp_ResultQuery viewCreate Result Views true

Generated parts of model objects shows the order in which a load runs the parts and the settings that add or remove them.

Example

The BusinessVault Composite load_salestransaction_virtual_bcmp on Microsoft SQL Server has Implementation Type Virtual. It reads the Link common_salestransaction, which links items, loyalty cards and cashiers. It maps the business keys of the Link as FK_ITEM_ITEM_ID, FK_LOYALTYCARD_LOYALTYCARD_ID and FK_EMPLOYEE_EMPLOYEE_ID. The loads deliver these sales transactions to the Link:

  • Load 1 on 2026-10-28 08:00: item 2 with loyalty card 501, sold by cashier 101.
  • Load 2 on 2026-10-29 08:00: item 3 with loyalty card 503, sold by cashier 102.

Check the result

Query the result view, here in the schema p2b:

SELECT FK_ITEM_ITEM_ID, FK_LOYALTYCARD_LOYALTYCARD_ID,
       FK_EMPLOYEE_EMPLOYEE_ID, BG_LoadTimestamp
FROM p2b.BDV_BC_load_salestransaction_virtual_bcmp_Result
ORDER BY FK_ITEM_ITEM_ID;

This is the result after load 2, with the column names shortened:

ITEM  LOYALTYCARD  EMPLOYEE  BG_LoadTimestamp
2     501          101       NULL
3     503          102       NULL
  • The view shows one row per Link row. It reads the result view of the Link, which hides the unknown-member row.
  • BG_LoadTimestamp is empty because the composite is virtual and the dataflow does not map it.

Platform differences

The rules for names, loaders, deployment, platform properties and defaults are in Model object types on each platform. The BusinessVault Composite has no further platform differences.

Limitations

  • A BusinessVault Composite has exactly one dataflow and no relationships. Validation reports an error otherwise.
  • Implementation Type Permanent is not available. An index on a virtual composite raises a validation warning.
  • A dataflow that reads the composite itself, directly or through other composites, raises a validation error.
  • A BusinessVault Composite does not read Multi-Active Satellites, PITs, Reference Tables or the Business Vault Hub, Link, satellite and PIT types.

Related articles