Cube.CollapseAndRemoveColumns

Syntax

Cube.CollapseAndRemoveColumns(cube as table, columnNames as list) as table

About

Changes the dimensional granularity of the filter context for the cube by collapsing the attributes mapped to the specified columns columnNames. The columns are also removed from the tabular view of the cube.