Cube.ReplaceDimensions

Syntax

Cube.ReplaceDimensions(cube as table, dimensions as table) as table

About

Replaces the set of dimensions returned by Cube.Dimensions. For example, this function can be used to add an ID column to a dimension attribute, so that the data source can group on the ID rather than the displayed value.