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

Version Valid From Term (Dataflow Model Object)

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

Version Valid From Term (ValidFromSourceTerm) names the source term that holds the start of validity of each source version. Set it when a source delivers several versions of a key, so that the loader stores them as separate versions with their own BG_ValidFromTimestamp. Up to Generator 2.0 the property was named ValidFrom Source Term.

Supported objects

  • Store Entity, Satellite, Link Satellite, Business Satellite and Business Link Satellite: the property switches on a multi-version load.
  • Mart Dimension: the property names the validity term of a historized source.

Where to set it

  1. Open Manage Term Mappings of the target model object.
  2. Open the menu of the source model object and choose Edit Dataflow Model Object.
  3. In the Historization group, select the source term in Version Valid From Term, for example UPDATE_DATE, and save. The default is empty.
    Historization group of Edit Dataflow Model Object with Version Valid From Term set to UPDATE_DATE

The property belongs to one source model object of one dataflow set. A model object with a multi-version load has one dataflow, one dataflow set and no aggregation.

Effect on generated output

  • The source view adds the column BG_ValidFromTimestamp_<alias>, where <alias> is the alias of the source model object, for example s1. A NULL source value becomes Begin of Universe.
  • Each source version becomes a version with this value as BG_ValidFromTimestamp.
  • Satellites load only versions that start later than the newest stored version of the key. Earlier versions and versions with the same start are skipped without a warning. Available since Generator 2.4.
  • On a Store Entity, a mapping of BG_ValidFromTimestamp has no effect, and validation reports warning ID-10058.

The term adds _Versioning, _Scd (Store Entity and Mart Dimension) and _RowCondensing to the part flow; the legend in the image names the lines and shapes. Generated parts of model objects describes them:

Multi-version detours, top to bottom. Version Valid From Term set adds _Versioning, which combines the versions of the historized sources, and _Scd, which applies the SCD0 and SCD1 terms (Store Entity and Mart Dimension only). Further down, before _Delta, Version Valid From Term set adds _RowCondensing, which merges consecutive versions with equal values and in some cases compares with the stored rows. With the term empty the main path runs on. A dashed white cylinder next to a part marks the stored rows it compares with (own _Result, or the table without result views); a label on its line names the condition.

Example

A Satellite on Microsoft SQL Server uses UPDATE_DATE as Version Valid From Term. The first load delivers employee 1 with the addresses Street A from 2026-01-01 and Street B from 2026-03-01, and employee 2 with Street X and a NULL date. The second load delivers employee 1 with Street C from 2026-02-01, Street D from 2026-03-01 and Street E from 2026-04-01. The result view then shows:

ADDRESS_LINE1  BG_ValidFromTimestamp    BG_ValidToTimestamp
Street X       1900-01-01 00:00 +00:00  9999-12-31 00:00 +00:00
Street A       2026-01-01 00:00 +00:00  2026-03-01 00:00 +00:00
Street B       2026-03-01 00:00 +00:00  2026-04-01 00:00 +00:00
Street E       2026-04-01 00:00 +00:00  9999-12-31 00:00 +00:00

The first row is employee 2; the other rows are employee 1. The second load added only the version from 2026-04-01.

Related articles