Create a Current View
A Model Object of the type Current View can be created in the Raw Vault Layer.
What is a Current View
In a Data Vault model, a Current View bundles the information of a Hub and its Satellites, or of a Link and its Link Satellites.
The modeler can choose which Satellites to include.
It presents only the latest (current) record for each Business Key, simplifying access to the most up-to-date information for operational or analytical use.
A Current View contains the following information:
- Identity and BK Terms (from the Hub/Link)
- Selected Satellite Attributes (chosen by the modeler)
Creation steps
There is one way to create a Current View Model Object:
Create a Model Object manually:
- Create a Model Object manually:
- Create a Model Object of type Current View in the Raw Vault Layer
- Add a Model Object to the Dataflow Set: Add the PIT table, the Hub, and all the desired Satellites
- Auto-map the Source Terms: Select the auto-map mode and auto-map:
- The Hub_HK
- The Hub Business Key(s)
- The business terms of all the desired Satellite(s) (you can use the auto-map all feature)
Filling the Join Expressions between the Dataflow Model Objects (PIT table, Hub, and Satellites) is not required.
They can appear in any order in the same Dataflow Set.
The logic to join the PIT table, Hub, and Satellites is more complex than a simple join and is built directly into the templates.
Properties
A Current View Model Object doesn't provide any configurable Properties.
Default Terms
A Current View Model Object doesn't include any Default Terms.