Many analytical techniques from the statistical and artificial intelligence communities require a denormalized table, or data set, as input. The Denorm function is provided when a denormalized table needs to be constructed from data which exists in relational form in the data warehouse. The aggregations used in the construction of a denormalized table (AVG, SUM, MIN, MAX, and COUNT) are provided in the Denorm function as user-selectable options.
- Table name
- Names of index columns to remove
- Names of index columns to retain
- Names of of remaining columns to denormalize
- Values of the removed index columns to denormalize
- Names of any columns already denormalized to retain
New column names are concatenated from the prefix associated with the values to denormalize (which occur in the index remove columns) and the alias or name of the denormalize column. You can optionally specify an aggregation method when new columns have multiple values to choose from. User-specified aggregation methods (specifically, MIN, MAX, AVG, SUM, or COUNT) are only used when there are non-unique index values or when a part of the index is being ignored, that is, when part of the index is neither being retained nor removed (denormalized).
- Tables and columns to analyze
- Options unique to the Denorm analysis
- The desired results and SQL or Expert options
While multiple data types are compatible with the Denorm function, only character, numeric, and date type data are validated within the function.