Logical.From
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Returns a logical value from a value.
Logical.From(value as any) as nullable logical
| Argument | Description |
|---|---|
| value | Value to convert. |
| Type | Description |
|---|---|
| text | Returns a logical value of "true" or "false" from the text value. For more details, see Logical.FromText. |
| number | If value equals 0, true; otherwise, false. |
| any other type | An Expression.Error is thrown. |
If value is null, Logical.From returns null.
If a value is logical, the same value is returned.
Logical.From(2) equals true
Show: