नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Checks whether a value is a logical value, (TRUE or FALSE), and returns TRUE or FALSE.
Syntax
ISLOGICAL(<value>)
Parameters
| Term | Definition |
|---|---|
value |
The value that you want to test. |
Return value
TRUE if the value is a logical value; FALSE if any value other than TRUE OR FALSE.
Remarks
- This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
- This function is an alias of ISBOOLEAN.
Example
The following DAX query shows the behavior of ISLOGICAL.
EVALUATE
{
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 Boolean type or Logical
IF ( ISLOGICAL ( 42 ), "Is Boolean type or Logical", "Is different type" ) // RETURNS: Is different type
}