Concepts → Incorta Analyzer Table Column
About an Incorta Analyzer Table Column
An Incorta Analyzer table column exists in an Incorta Analyzer Table and is a reference to a physical schema table column or business schema view column.
Properties of an Incorta Analyzer table column
An Incorta Analyzer table column has configurable and static properties. The following are the properties of an Incorta Analyzer table column:
Property | Control | Description |
---|---|---|
Show in Analyzer | checkbox | Select to show as a selectable column in the Data Panel |
Name | read only | The column’s name; used in the fully qualified name of the column |
Label | read only | A user-friendly name. The label for an Incorta Analyzer table column is defined in the column properties of the Analyzer. |
Type | read only | The data type of the column. The data type of a column in an Incorta Analyzer table is determined by the source column. |
Function | drop down list | Select the Incorta function of the column. An Incorta Analyzer table cannot have a key column in releases before 6.0.3. However, starting with 6.0.3, you can specify key columns in Analyzer tables. |
Encrypt | toggle (read only) | Incorta Analyzer tables do not support encrypted columns. You cannot set this property; it is always false . |
Type property
As a referenced column, the type property of an Incorta Analyzer table column is an immutable property. If the type property of a physical schema table column is changed, it will affect the referenced column in the Incorta Analyzer table. If the type property is changed to a type that cannot be properly type-casted, you may need to recreate the Incorta Analyzer table.
Function property
The function property of an Incorta Analyzer table column not only determines how the Loader Service stores data for the column, but also influences how tools such as the Analyzer assign a specific behavior to the column. Before 6.0.3, an Incorta Analyzer table column could only function as a measure or a dimension. If you used a column from your physical schema table that functioned as a key, the Incorta Analyzer table would convert the function of the column. The conversion is based on how you assign the column in the Analyzer when building the Incorta Analyzer table.
When you create the Incorta Analyzer table, the function of the column is determined by the Analyzer tray you have added the column to (grouping dimension or measure).
If you edit the Incorta Analyzer table and change the column function in the Analyzer, you will need to manually update the column function in the Table Editor.
Function: Dimension
A dimension categorizes, describes, or groups data. Examples of a dimension column are State, Year, or City. Dimension columns do not require unique values.
A dimension column has an associated behavior in the Analyzer. When a user double-clicks a dimension column in the Data panel, the Analyzer automatically adds the column to the Grouping Dimension tray in the Insight panel.
Function: Measure
A measure is a measurement of data. Examples of a measure column are Revenue, Quantity, and Cost.
A measure column has an associated behavior in the Analyzer. When a user double-clicks a measure column in the Data panel, the Analyzer automatically adds the column to the Measure tray in the Insight panel.
Function: Key
In releases before 6.0.3, an Incorta Analyzer table would not allow the function of an Incorta Analyzer table column or Incorta Analyzer table formula column to be a key. However, starting with 6.0.3, you can specify key columns for Incorta Analyzer and SQL tables. Adding, removing, or changing key columns does not require running a load job as derived tables are refreshed as part of schema update jobs. The derived table’s unique index is calculated and saved as a snapshot DDM file each time the key columns are updated or the schema or table is loaded.
Make sure that the column or columns that you designate as key maintain row uniqueness because no deduplication is performed for derived tables. If the selected key columns result in duplicate key values:
- During the schema update job, duplicate values are kept, and the Engine will return the first matching value whenever a single value of the key columns is required. The schema update logs will point out the unique index issue.
- During the schema or table load job, the unique index calculation will fail, resulting in a finished-with-error load job. No value is returned when the unique index is required. You must select the correct key columns to have the unique index calculated.
Encryption property
As Incorta Analyzer tables do not support encrypted columns, this property is disabled and you cannot edit.
Additional Considerations
Business schema view references
When creating an Incorta Analyzer table, you are able to access the business schema as a data source for an Incorta Analyzer table. There are several cases you should be aware of when utilizing entities in the business schema view as a data source.
Circular dependencies
A business schema view column can reference an Incorta Analyzer table. The same Incorta Analyzer table can reference the same business schema view column. These types of cyclical dependencies will cause errors and should be avoided.
Session variables referenced in business schema
The value of a session variable is calculated at runtime. If an Incorta Analyzer table references a business schema view column that is referencing a session variable, the value of the session variable in the Incorta Analyzer table will be calculated at load time. Avoid making this reference as the session variable’s value may change between a physical schema load.