Cube.AddMeasureColumn is a function in the Power Query M language that adds a column containing the results of a measure applied in the row context of each row in the cube. The function returns the cube with the new measure column, which is affected by dimension granularity and slicing changes.
Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365
Cube.AddMeasureColumn( cube as table, column as text, measureSelector as any, ) as table
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.
Other functions related to Cube.AddMeasureColumn are: