IniziaInizia gratis

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" )

Questo esercizio fa parte del corso

Intermediate DAX in Power BI

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio