Cube.Measures

Updated on

Cube.Measures is a function in the Power Query M language that returns a table containing the set of available measures within a cube. The function returns a table with each measure represented as a function, which can be applied to the cube using Cube.AddMeasureColumn.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365

Syntax

Cube.Measures( cube as any ) as table

Description

Returns a table containing the set of available measures within the cube. Each measure is represented as a function. Measures can be applied to the cube using Cube.AddMeasureColumn.

Other functions related to Cube.Measures are:

BI Gorilla Blog

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/cube-measures