BITXOR

Applies to: Calculated column Calculated table Measure Visual calculation

Returns a bitwise XOR of two numbers.

Syntax

BITXOR(<number>, <number>)

Parameters

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

Return value

A bitwise XOR of two numbers.

Remarks

  • This function supports both positive and negative numbers.

Example

The following DAX query:

EVALUATE { BITXOR(9, 10) }

Returns 3.

BITOR
BITAND
BITLSHIFT
BITRSHIFT