TRUE
Restituisce il valore logico TRUE
.
Sintassi
TRUE()
Valore restituito
Sempre TRUE
.
Osservazioni:
La parola TRUE
viene interpretata anche come valore logico TRUE
.
Esempio
La formula restituisce il valore logico TRUE
quando il valore nella colonna 'InternetSales_USD'[SalesAmount_USD], è maggiore di 200000.
= IF(SUM('InternetSales_USD'[SalesAmount_USD]) >200000, TRUE(), false())
La tabella seguente mostra i risultati quando la formula di esempio viene usata in un report con 'ProductCategory'[ProductCategoryName] in Etichette di riga e 'DateTime'[CalendarYear] in Etichette di colonna.
Etichette di riga | 2005 | 2006 | 2007 | 2008 | - | Grand Total |
---|---|---|---|---|---|---|
Accessori | FALSE |
FALSE |
TRUE |
TRUE |
FALSE |
TRUE |
Bikes | TRUE |
TRUE |
TRUE |
TRUE |
FALSE |
TRUE |
Clothing | FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
TRUE |
Componenti | FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
FALSE |
|
Grand Total | TRUE |
TRUE |
TRUE |
TRUE |
FALSE |
TRUE |