Power Query
published
Search
⌃K

RowExpression.From

RowExpression.From

Returns the AST for the body of a function.
function (function as function) as record

Description

Returns the AST for the body of function, normalized into a row expression:
</li>
</p> </p>An error is raised if a row expression AST cannot be returned for the body of function.</p>

Category

Table.Table construction

Examples

Returns the AST for the body of the function each [CustomerID] = "ALFKI"
RowExpression.From(each [CustomerName] = "ALFKI")
[ Kind = "Binary", Operator = "Equals", Left = RowExpression.Column("CustomerName"), Right = [ Kind = "Constant", Value = "ALFKI" ] ]