ISLOGICAL is a DAX function that checks whether a value is a logical value (TRUE or FALSE) and returns TRUE or FALSE accordingly.
Syntax
ISLOGICAL( Value )
Argument | Properties | Description |
---|---|---|
Value | The value you want to test. |
ISLOGICAL is a DAX function that checks whether a value is a logical value (TRUE or FALSE) and returns TRUE or FALSE accordingly.
ISLOGICAL( Value )
Argument | Properties | Description |
---|---|---|
Value | The value you want to test. |
TRUE
if the value is a logical value; FALSE
if any value other than TRUE
OR FALSE
.
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
The following three samples show the behavior of ISLOGICAL.
//RETURNS: Is Boolean type or Logical
= IF(ISLOGICAL(true), "Is Boolean type or Logical", "Is different type")
//RETURNS: Is Boolean type or Logical
= IF(ISLOGICAL(false), "Is Boolean type or Logical", "Is different type")
//RETURNS: Is different type
= IF(ISLOGICAL(25), "Is Boolean type or Logical", "Is different type")
Other functions related to ISLOGICAL are:
2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy