AnalyticsCreator Docs Preview

Configure and validate a transformation

On this page
  1. Choose the type before editing
  2. Regular transformations
  3. Fill columns
  4. Union
  5. Manual and Script
  6. Save and Validate
  7. Example
  8. Related topics

Object reference: Transformation.

A transformation defines a derived result through structured mappings, a manual definition or another type-specific path.

Choose the type before editing

The editor enables controls by transformation type. Regular supports column mappings, sources, joins, references and WHERE/HAVING. Manual opens an editable VIEW definition and the renamed-column mapping. Union uses an ordered set of source branches. Script exposes the script editor and dependency controls. Direct requires a selected direct Source. External and generated datamart definitions have different controls; disabled controls are not universally available options.

Regular transformations

Element Purpose
Columns / Column Name Output name; empty names and duplicate names are rejected on Save.
TableSeqNr / Reference Identify the source occurrence and referenced column.
Statement Expression for the output. For an aggregate, write the aggregate function here.
IsAggr. Marks an aggregate expression and enables GROUP BY generation from non-aggregate expressions. It does not insert SUM, MAX or another function automatically. Literal NULL expressions are ignored for grouping.
Sources & joins Configure source tables, aliases, join types, history-join options and optional subselects.
Reference Statement Explicit join expression. It takes precedence over the reference selected in the References table.
Filter Statement Additional per-source condition; the resulting-reference preview appends it to the chosen join condition.
WHERE / HAVING Filters for the generated query and aggregation.

A Reference Statement is not a fallback used only when no reference exists: entering one overrides reference-derived join construction. Review the resulting SQL after changing it.

Fill columns

Fill columns is shown for Regular, and for a non-first branch of Union. It fills unresolved column mappings only when both the reference and Statement are empty. It matches output names to source column names without case sensitivity, then tries friendly names. It does not replace existing expressions or references. If several source tables contain the same name, review the selected mapping; name matching is not a business-rule inference engine.

Union

The first source by sequence number defines the main column set. Select another branch to configure its corresponding columns. Save aligns later branches to that main set. Union all controls the separator before the selected branch: UNION ALL retains duplicates; UNION performs duplicate elimination. Branch filters and aggregate flags are evaluated in the generated branch SELECTs.

Manual and Script

For Manual, edit VIEW and record old/new column names in the rename mapping when renaming columns. This helps carry metadata across a manual definition change. For Script, explicitly identify the objects read and changed when defining dependencies. A script transformation is not equivalent to a view-based Regular transformation.

Save and Validate

Save commits edited grid values, checks the transformation type/name and column names, stores metadata and invokes generation. The repository parameter TRANSFORMATIONS_CREATEVIEWS controls additional view processing:

Value Reviewed view-based behavior
0 Generate the definition without invoking the view-creation step.
1 Invoke the view-analysis path, which creates a temporarily named view to inspect metadata and then drops it. This still accesses and changes the DWH during validation.
2 Invoke creation of the actual view with replacement enabled.

Type-specific branches can differ, especially Script and generated datamart transformations. Do not treat Save as universally free of DWH side effects.

Validate first saves current edits. If saving fails, validation stops. It then invokes the creation path with value 2 and reports Successful if the operation completes. This can replace the actual view; it is not just syntax highlighting or an offline check.

Example

For sales totals, map CustomerID as a non-aggregate column and use SUM([T1].[Amount]) as the TotalAmount Statement with IsAggr. selected. Inspect VIEW to confirm that the customer expression is grouped and the amount expression is aggregated. This is an illustrative configuration, not an executed test.

Persisting the result and action side effects.

Search documentation