Expression.Evaluate

Syntax

Expression.Evaluate(document as text, optional environment as nullable record) as any

Description

Returns the result of evaluating an M expression document, with the available identifiers that can be referenced defined by environment.

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / Expression Functions / Expression.Evaluate