Conditional statements

Conditional statements let you perform calculations based on specified conditions. These functions evaluate expressions and return different values depending on whether the conditions are true or false. They are commonly used to apply business logic, categorize data, filter results, and handle exceptions.

In Plan, conditional statements help you create dynamic calculations that adapt to different scenarios, such as applying thresholds, categorizing data, or managing error conditions.

In this category#

FunctionDescription
IFReturns one value if a condition is true and another value if it is false.
IFNAReturns the specified value if an expression results in the #N/A error.
AVERAGEIFReturns the average of values in a list that meet the given condition.
COUNTIFReturns the count of values that meet a specified condition.
SUMIFReturns the sum of values that meet a specified condition.
FILTERIFReturns a filtered list of values based on a specified condition.
SWITCHEvaluates an expression against a list of values and returns the result corresponding to the first matching value. If no match is found, an optional default value is returned.
Fabric Plan
Enterprise planning, Integrated with PowerTable and Intelligence, native to Microsoft Fabric. Co Engineered with Lumel.
BUILT ON