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 should be used.
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 possibility to create a Current View Model Object:
- 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 Satellite(s)) is unnecessary. The latter can be in any order in the same Dataflow Set.
The logic to join the PIT table, the Hub, and the Satellite(s) is more complex than just joining the Model Objects together and is built directly in the templates.
Properties
A Current View Model Object doesn't propose any Property.
Default Terms
A Current View Model Object doesn't include any Default Terms.