Cube.AddMeasureColumn

Syntax

Cube.AddMeasureColumn(**cube** as table, **column** as text, **measureSelector** as any) as table

Description

Adds a column with the name column to the cube that contains the results of the measure measureSelector applied in the row context of each row. Measure application is affected by changes to dimension granularity and slicing. Measure values will be adjusted after certain cube operations are performed.

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / Accessing Data Functions / Cube.AddMeasureColumn