A
C
- CALCULATE
- CALCULATETABLE
- CALENDAR
- CALENDARAUTO
- CEILING
- CHISQ.DIST
- CHISQ.DIST.RT
- CHISQ.INV
- CHISQ.INV.RT
- CLOSINGBALANCEMONTH
- CLOSINGBALANCEQUARTER
- CLOSINGBALANCEYEAR
- COALESCE
- COLUMNSTATISTICS
- COMBIN
- COMBINA
- COMBINEVALUES
- CONCATENATE
- CONCATENATEX
- CONFIDENCE.NORM
- CONFIDENCE.T
- CONTAINS
- CONTAINSROW
- CONTAINSSTRING
- CONTAINSSTRINGEXACT
- CONVERT
- COS
- COSH
- COT
- COTH
- COUNT
- COUNTA
- COUNTAX
- COUNTBLANK
- COUNTROWS
- COUNTX
- COUPDAYBS
- COUPDAYS
- COUPDAYSNC
- COUPNCD
- COUPNUM
- COUPPCD
- CROSSFILTER
- CROSSJOIN
- CUMIPMT
- CUMPRINC
- CURRENCY
- CURRENTGROUP
- CUSTOMDATA
D
E
I
N
O
P
R
S
- SAMEPERIODLASTYEAR
- SAMPLE
- SEARCH
- SECOND
- SELECTCOLUMNS
- SELECTEDMEASURE
- SELECTEDMEASUREFORMATSTRING
- SELECTEDMEASURENAME
- SELECTEDVALUE
- SIGN
- SIN
- SINH
- SLN
- SQRT
- SQRTPI
- STARTOFMONTH
- STARTOFQUARTER
- STARTOFYEAR
- STDEVX.P
- STDEVX.S
- STDEV.P
- STDEV.S
- SUBSTITUTE
- SUBSTITUTEWITHINDEX
- SUM
- SUMMARIZE
- SUMMARIZECOLUMNS
- SUMX
- SWITCH
- SYD
T
U
Syntax
The syntax of the BITXOR function is as follows:
BITXOR(number1, number2)
The function takes two arguments, number1 and number2, which are the two numbers you want to perform the XOR operation on.
Example
Suppose you want to perform a bitwise XOR operation on the numbers 5 (represented in binary as 101) and 3 (represented in binary as 011). To do this, you can use the BITXOR function as follows:
= BITXOR(5,3)
The result of this operation would be 6 (represented in binary as 110).
Usage
The BITXOR function can be used in a variety of scenarios. One common use case for this function is in cryptography. The function can be used to encrypt and decrypt data by performing a bitwise XOR operation on the data and a secret key.
Another use case for the function is in data analysis. The function can be used to perform logical operations on binary data, such as checking whether a certain bit is set in a binary number.
Limitations
There are a few limitations to keep in mind when using the BITXOR function in Power BI.
Firstly, the function only works on integers. If you try to use the function on a non-integer value, you will get an error.
Secondly, the function only works on numbers that are 32 bits or smaller. If you try to use the function on a larger number, you will get an error.
In conclusion, the BITXOR function is a powerful tool that can be used in a variety of scenarios. Whether you need to encrypt data, analyze binary data, or perform logical operations on integers, the BITXOR function can help you get the job done. So next time you need to perform a bitwise XOR operation in Power BI, give the BITXOR function a try!