The ISLOGICAL function evaluates a value and returns the logical value True if it is a Boolean, and the logical value False otherwise.
Syntax
ISLOGICAL(
value
)
Parameters
- value: Value to evaluate.
Returned value
The ISLOGICAL function returns a Boolean.
Examples
The following measure evaluates the data in the Table[Value] column and returns one text or another depending on whether these values are Boolean or not:
Type = IF(
ISLOGICAL(Table[Value]),
"It is Boolean",
"It is of another type"
)
Category
Information