Logical functions

Apply logical functions to test conditions and return TRUE or FALSE results. These functions are commonly used to evaluate expressions, validate data, and build conditional logic in reports.

In this category#

FunctionDescriptionSYNTAXEXPLANATIONEXAMPLE
ANDReturns TRUE only if all conditions are TRUE.
ORReturns TRUE if any condition is TRUE; returns FALSE only if all conditions are FALSE.OR( logical_test1, [logical_test2], ... )Will return 25 if the region is West or East otherwise returns 30IF(OR(Region == "West", Region =="East"), 25, 30)
NOTReturns the opposite logical value of the argument.NOT( logical_test )Will return 50 if the region is not West otherwise returns 25IF(NOT(Region == "West"), 50, 25)
XORReturns TRUE if the number of satisfied conditions is odd, and FALSE if it is even.XOR( logical_test1, [logical_test2], ... )Will return 25 for all category in the West except for category Urban, and returns 25 for all Urban category under all region except for west, for all other items returns 30IF(XOR(Region == "West", Category=="Urban"), 25, 30)
INReturns TRUE if the specified value exists in a list or array.
ISBLANKReturns TRUE if the specified value is blank or empty.ISBLANK(value)Returns TRUE if AC is emptyISBLANK(AC)
ISEMPTYReturns TRUE if the specified value is blank or empty. It works similar to ISBLANK.ISEMPTY(value)Returns TRUE if AC has no valueISEMPTY(AC)
ISNUMBERReturns TRUE if the specified value is a valid number.ISNUMBER(value)Returns AC-PY/PY if the value is a number else returns 0IF(ISNUMBER((AC-PY)/PY), (AC-PY)/PY , 0)
ISREFEXISTReturns TRUE if the specified reference exists in the model.

Logical Operators#

TITLEOPERATORSDESCRIPTION
AND&&Logical AND
OR||Logical OR
XOR^Logical Exclusive OR
Enterprise planning, Integrated with PowerTable and Intelligence, native to Microsoft Fabric. Co Engineered with Lumel.
BUILT ON