Multilevel cPlans

A multilevel cPlan allows you to join two or more data sets into a merged Dive file. A multilevel merge does not merely concatenate records. Dives are done into each of the sources and the results are then combined. It is a best practice to limit the number of cBases in a multilevel cPlan.

The following scenario defines a multilevel cPlan with two input cBases. The cBases have different columns but with a common Customer column. The cPlan is used as input to a Spectre dive file, and the results of the dive are shown.

NOTES:

  • A cPlan filter only filters the inputs for which all the referenced columns exist. In the previous example, a filter `value("Product")="Prod1"` would only filter first.cbase because Product does not exist in second.cbase.
  • If a value is missing on one side or the other when the two sides are joined, a null value is produced for columns where there is no data.
  • If a non-dimension column is found in both inputs, Spectre uses only the column from the first one.

 

 

See also: About MultiLevel MultiModel DivePlans