Aan de slagGa gratis aan de slag

Interpreting SWITCH()

Logical functions are utilized to perform more complex computations. As you begin to write these complex computations it's important that you understand how to decipher the expected results when writing it with DAX.

What is the result of the following DAX function?

SWITCH(TRUE, 
    OR(FALSE, FALSE), "1", 
    AND(TRUE, FALSE), "2", 
    OR(TRUE, FALSE), "3", 
    "4" )

Deze oefening maakt deel uit van de cursus

Intermediate DAX in Power BI

Cursus bekijken

Praktische interactieve oefening

Zet theorie om in actie met een van onze interactieve oefeningen.

Begin met trainen