Share via


Cube.AddAndExpandDimensionColumn

Syntax

Cube.AddAndExpandDimensionColumn(
    cube as table,
    dimensionSelector as any,
    attributeNames as list,
    optional newColumnNames as any
) as table

About

Merges the specified dimension table, dimensionSelector, into the filter context of the cube and changes the dimensional granularity by expanding the specified set, attributeNames, of dimension attributes. The dimension attributes are added to the tabular view with columns named newColumnNames, or attributeNames if not specified.