BITOR

Applies to: Calculated column Calculated table Measure Visual calculation

Returns a bitwise OR of two numbers.

Syntax

BITOR(<number>, <number>)

Parameters

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

Return value

A bitwise OR of two numbers.

Remarks

  • This function supports both positive and negative numbers.

Example

The following DAX query:

EVALUATE 
    { BITOR(9, 10) }

Returns 11.

BITAND BITXOR BITLSHIFT BITRSHIFT