Condividi tramite


ISLOGICAL

Si applica a:colonna calcolatatabella calcolata calcolo visivomisura

Controlla se un valore è un valore logico, (TRUE o FALSE) e restituisce TRUE o FALSE.

Sintassi

ISLOGICAL(<value>)

Parametri

Termine Definizione
value Valore da testare.

Valore restituito

TRUE se il valore è un valore logico; FALSE se un valore diverso da TRUEORFALSE.

Osservazioni

Questa funzione non è supportata per l'uso in modalità DirectQuery quando viene usata nelle colonne calcolate o nelle regole di sicurezza a livello di riga.

Esempio

I tre esempi seguenti illustrano il comportamento di ISLOGICAL.

//RETURNS: Is Boolean type or Logical
= IF(ISLOGICAL(true), "Is Boolean type or Logical", "Is different type")

//RETURNS: Is Boolean type or Logical
= IF(ISLOGICAL(false), "Is Boolean type or Logical", "Is different type")

//RETURNS: Is different type
= IF(ISLOGICAL(25), "Is Boolean type or Logical", "Is different type")

funzioni informazioni