Power BI if statement using measure and Calculate

Power BI if statement using measure and Calculate

Power bi “if statement” is straightforward to implement in DAX. It works the same as if-else in SQL. The syntax of if statement in dax is IF(logical_test,value_if_true, value_if_false) The first parameter of if statement in power bi is any expression that can return true or false output.  If the output of the logical_test is true,…