Logical.ToText

Generates a text string based on the logical value provided, which can be either true or false. If the input logical value is not valid, an error will be triggered.

Syntax

Logical.ToText(logicalValue as nullable logical) as nullable text

About

Generates a text string based on the logical value provided, which can be either true or false. If the input logical value is not valid, an error will be triggered.

Explanation

Generate a text value using the logical true in Power Query's M language by using the function MLogical.ToText(true). The output will be "true".