if functions in dax
Logical DAX Functions. Function. Description. Sample code. IF(logical_test>, <value_if_true> , value_if_false) Checks if a condition provided as the first argument is met. Returns one value if the condition is TRUE, and returns another value if the condition is FALSE. Changes FALSE to TRUE, or TRUE to FALSE. Returns all the rows in a table, or all the values in a column, ignoring any filters that might have been applied.