ISNONTEXT
Applies to:
Calculated column
Calculated table
Measure
Visual calculation
Checks if a value is not text (blank cells are not text), and returns TRUE or FALSE.
Syntax
ISNONTEXT(<value>)
Parameters
Term | Definition |
---|---|
value | The value you want to check. |
Return value
TRUE if the value is not text or blank; FALSE if the value is text.
Remarks
An empty string is considered text.
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
Example
The following examples show the behavior of the ISNONTEXT function.
//RETURNS: Is Non-Text
= IF(ISNONTEXT(1), "Is Non-Text", "Is Text")
//RETURNS: Is Non-Text
= IF(ISNONTEXT(BLANK()), "Is Non-Text", "Is Text")
//RETURNS: Is Text
= IF(ISNONTEXT(""), "Is Non-Text", "Is Text")
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