Value.Expression

Updated on

Value.Expression is a Power Query M function that generates an abstract syntax tree (AST) representing the input value’s expression. The function returns the AST for the given value.

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

Syntax

Value.Expression( value as any ) as nullable record

Description

Returns an abstract syntax tree (AST) that represents the value’s expression

Other functions related to Value.Expression are:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/value-expression