RowExpression.Column

RowExpression.Column is a Power Query M function that represents access to a column within a row expression. The function returns an abstract syntax tree (AST) for the column access.

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

Syntax

RowExpression.Column( columnName as text ) as record

Description

Returns an abstract syntax tree (AST) that represents access to column columnName of the row within a row expression.

Examples

Creates an AST representing access of column “CustomerName”.

RowExpression.Column( "CustomerName" )

 /* Output: 
[
    Kind = "FieldAccess",
    Expression = RowExpression.Row,
    MemberName = "CustomerName"
]
 */ 

Other functions related to RowExpression.Column are:

BI Gorilla Youtube Channel

Last update: August 28, 2023 | Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/rowexpression-column
© 2023 BI Gorilla. All rights reserved. Content derived from Microsoft documentation is property of Microsoft Corp.