# TRUEDAX Function (Logical)

Returns the logical value TRUE.

## Syntax

TRUE ( )

This expression has no parameters.

## Return values

Scalar A single boolean value.

Always TRUE.

## Remarks

Writing TRUE() or TRUE produces the same result.
The TRUE value is converted to 1 as decimal or integer.

» 1 related function

## 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: Jul 12, 2024     » Show contributors

Contributors: Alberto Ferrari, Marco Russo

Microsoft documentation: https://docs.microsoft.com/en-us/dax/true-function-dax

# Context Transition

This function performs a Context Transition if called in a Row Context. Click to read more.

# Row Context

This expression is executed in a Row Context. Click to read more.

# Not recommended

The use of this function is not recommended. See Remarks and Related functions for alternatives.

# Not recommended

The use of this parameter is not recommended.

# Deprecated

This function is deprecated. Jump to the Alternatives section to see the function to use.

# Volatile

A volatile function may return a different result every time you call it, even if you provide the same arguments. Click to read more.

# Deprecated

This parameter is deprecated and its use is not recommended.

# DirectQuery compatibility

Limitations are placed on DAX expressions allowed in measures and calculated columns.
The state below shows the DirectQuery compatibility of the DAX function.

### Contribute

Want to improve the content of TRUE? Did you find any issue?
Please, report it us! All submissions will be evaluated for possible updates of the content.