TRUE DAX Function (Logical)
Returns the logical value TRUE.
Syntax
This expression has no parameters.
Return values
Always TRUE.
Remarks
Writing TRUE() or TRUE produces the same result.
The TRUE value is converted to 1 as decimal or integer.
In arithmetic operations, TRUE becomes 1, also when the other value is BLANK: TRUE + BLANK () returns 1. In a text concatenation, TRUE becomes the text “TRUE”.
DAX cannot compare TRUE with a number or with a text: TRUE = 1 and TRUE = “TRUE” return an error. Convert the value first, for example INT ( TRUE ) = 1. TRUE is never equal to BLANK: TRUE = BLANK () returns FALSE.
Examples
-- TRUE and FALSE are the two constant values of True and False (1, 0 )
-- AND performs the logical AND between two conditions
-- OR performs the logical OR between two conditions
-- NOT performs logical negation
EVALUATE
{
( "FALSE", FALSE ),
( "FALSE()", FALSE() ),
( "TRUE", TRUE ),
( "TRUE()", TRUE() ),
( "AND ( TRUE, FALSE )", AND ( TRUE, FALSE ) ),
( "OR ( TRUE, FALSE )", OR ( TRUE, FALSE ) ),
( "NOT ( TRUE )", NOT ( TRUE ) ),
( "NOT ( FALSE )", NOT ( FALSE ) )
}
| Value1 | Value2 |
|---|---|
| FALSE | false |
| FALSE() | false |
| TRUE | true |
| TRUE() | true |
| AND ( TRUE, FALSE ) | false |
| OR ( TRUE, FALSE ) | true |
| NOT ( TRUE ) | false |
| NOT ( FALSE ) | true |
Related functions
Other related functions are:
Last update: Nov 26, 2026 » Contribute » Show contributors
Contributors: Alberto Ferrari, Marco Russo
Microsoft documentation: https://learn.microsoft.com/en-us/dax/true-function-dax