Skip to content

Shrunken Dimensions

A shrunken dimension (or shrunken rollup dimension) is a subset of a conformed dimension. It contains either a subset of the attributes (columns) or a subset of the rows (for a higher grain) from the base dimension.

Shrunken dimensions are used when a fact table captures data at a higher level of aggregation than the atomic base dimension.

Example (A Shrunken Date Dimension):

If a forecasting fact table is built at the monthly grain, it cannot join to a standard daily dim_date table. Instead, it joins to a shrunken dim_month dimension, which drops the day-level attributes and retains only one row per month.

Base Dimension (dim_date):

date_keyfull_dateday_of_weekmonth_namequarteryear
202401012024-01-01MondayJanuaryQ12024
202401022024-01-02TuesdayJanuaryQ12024

Shrunken Dimension (dim_month):

month_keymonth_namequarteryear
202401JanuaryQ12024
202402FebruaryQ12024

The dim_month dimension contains a subset of columns (attributes) and a subset of rows (higher grain) compared to the base dim_date.