Power Query M Function

ItemExpression.From Function

Pinterest LinkedIn Tumblr

Power Query M ItemExpression.From Function is categorized under Table Functions. This function is used to returns the AST(Abstract Syntax Trees) for the body of the provided function normalized into an ItemExpression(s).

ItemExpression.From Function

Purpose of Power Query M ItemExpression.From Function

This function is used to obtain AST for the function.

Return value

This function returns a table containing nodes.

Syntax

=ItemExpression.From(Function)

Arguments

Arguments DescriptionRemarks
Function as functionMandatory

Usage Notes

  • An error is thrown if a row expression AST cannot be returned for the body of the function.
  • This function should only have 1-argument lambda.
  • All the function parameter are replaced with ItemExpression.Item
  • The following are the kinds of nodes which  AST will be simplified to contain.
    Constant
    Invocation
    Unary
    Binary
    If
    FieldAccess
    NotImplemented

Related Posts

Write A Comment