AnalyticsCreator Docs Preview

Create time transformation

On this page
  1. Behavior and conditions
  2. Related guidance
  3. Controls
  4. XAML preview
  5. Window layout
  6. Scope

Creates a time-of-day interval transformation, optional time-to-key macro and selected star dimension associations.

All windows and pages · Common controls and reading this reference

Behavior and conditions

The generated view has 1440 / Period interval rows with keys starting at 1, plus key 0 with NULL Hour/Minute and the literal description Unknow. Each interval starts at its displayed Hour/Minute and ends one second before the next interval. For Period 60, key 1 describes 00:00:00–00:59:59 and key 24 describes 23:00:00–23:59:59 (25 rows including key 0).

Finish saves repository metadata and invokes view-definition/result-column derivation; it does not make the final execute-and-replace view call used by the calendar/snapshot helpers. Check and apply the generated view through the normal generation/deployment route. The configured history-ID column is marked as the result key when found. No time zone or date range is configured here; the macro uses only the input hour and minute.

Controls

Find a control

General

Available stars

Selected stars

The entries include tabs, grid columns, fields and context-menu actions. Repeated captions can belong to different grids or menus. Selection-dependent and initially hidden controls are included; inclusion is not a promise that every control is visible at once. Fixed choices below are declared choices, not a platform support matrix.

XAML preview

WPF renders the compiled XAML view with the application styles and empty fields. The image variant follows the documentation color theme.

Window layout

XAML illustration: Window layout XAML illustration: Window layout

General

Name

Name of the new transformation within the selected schema. An existing transformation with that name in that schema is rejected. This field names the transformation, not a loaded fact table.

Location: General. Control: Text field.

Initial value: DIM_Hours.

Schema

Choose an existing repository schema, listed by schema name. Initially selects the first schema of type 4 in that order, otherwise the first available schema. Although the dropdown permits typing, Finish uses the selected schema record; typing is not a create-schema command.

Location: General. Control: Dropdown.

The dropdown also accepts typed input.

Period (minutes)

Spacing in whole minutes: a positive integer from 1 through 360 inclusive that divides 1440 exactly. Blank, noninteger, out-of-range and non-divisor input is rejected before metadata creation. The number of nonzero-key rows is 1440 / Period. For example, 90 is valid (16 intervals); 100 is rejected.

Location: General. Control: Text field.

Initial value: 60.

Time-to-ID macro

Optional SQL-language macro name, unique across repository macros. Blank skips macro creation. Maps a value to integer ((hour * 60 + minute) / Period) + 1 and maps NULL to 0. Seconds and the date portion do not affect the key. Associates the macro with the result table when available; does not change DEFAULT_CALENDAR_MACRO.

Location: General. Control: Text field.

Initial value: Time2ID.

Available stars

Location: General. Control: Group.

Available stars

Available stars that can be associated with the generated transformation

Existing repository stars, sorted by name. Select one and use the add arrow to place it in Selected stars; selecting it here alone does not associate it.

Location: Available stars. Control: ListBox.

General

→

Adds the currently selected Available stars entry to Selected stars. Repeated addition of the same star has no effect; no selection has no effect.

Location: General. Control: Button.

←

Removes the currently selected entry from Selected stars. Does not delete the star from the repository; no selection has no effect.

Location: General. Control: Button.

Selected stars

Location: General. Control: Group.

Selected stars

Stars selected for the generated transformation

Stars to receive dimension associations when Finish creates the transformation. Starts empty. Each association uses the transformation name as its star transformation name and is marked as a dimension (not a fact).

Location: Selected stars. Control: ListBox.

General

Cancel

Closes the wizard without invoking Finish. It does not roll back metadata or DWH actions from an earlier failed Finish attempt.

Location: General. Control: Button.

Finish

Validates Period and duplicate names, saves the transformation and selected dimension associations, derives result columns and marks the configured history-ID key, then saves the optional macro. These are multiple saves; failure is not an all-or-nothing rollback. Verify the generated view separately before loading dependent facts.

Location: General. Control: Button.

Scope

Options can depend on the selected object, its saved values and the current repository.

Search documentation