TRUE
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Returns the logical value TRUE.
Syntax
TRUE()
Return value
Always TRUE.
Remarks
The word TRUE is also interpreted as the logical value TRUE.
Example
The formula returns the logical value TRUE when the value in the column, 'InternetSales_USD'[SalesAmount_USD], is greater than 200000.
= IF(SUM('InternetSales_USD'[SalesAmount_USD]) >200000, TRUE(), false())
The following table shows the results when the example formula is used in a report with 'ProductCategory'[ProductCategoryName] in Row Labels and 'DateTime'[CalendarYear] in Column Labels.
Row Labels | 2005 | 2006 | 2007 | 2008 | - | Grand Total |
---|---|---|---|---|---|---|
Accessories | FALSE | FALSE | TRUE | TRUE | FALSE | TRUE |
Bikes | TRUE | TRUE | TRUE | TRUE | FALSE | TRUE |
Clothing | FALSE | FALSE | FALSE | FALSE | FALSE | TRUE |
Components | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE |
FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | |
Grand Total | TRUE | TRUE | TRUE | TRUE | FALSE | TRUE |
Related content
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho