BITAND

Applies to: Calculated column Calculated table Measure Visual calculation

Returns a bitwise AND of two numbers.

Syntax

BITAND(<number>, <number>)

Parameters

Term Definition
Number Any scalar expression that returns number. If not an integer, it is truncated.

Return value

A bitwise AND of two numbers.

Remarks

  • This function supports both positive and negative numbers.

Example

The following DAX query:

EVALUATE { BITAND(13, 11) }

Returns 9.

BITLSHIFT
BITRSHIFT
BITOR
BITXOR