Expression.Identifier is a Power Query M function that generates the M source code representation of an identifier name. The function returns a text value representing the M code.
Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365
Syntax
Expression.Identifier( name as text ) as text
Description
Returns the M source code representation of an identifier name
.
Examples
Get the M source code representation of an identifier.
// Output: "MyIdentifier"
Expression.Identifier( "MyIdentifier" )
Get the M source code representation of an identifier that contains a space.
// Output: "#""My Identifier"""
Expression.Identifier( "My Identifier" )
Related functions
Other functions related to Expression.Identifier are:
