ISEMPTY

Checks if a table is empty.

Syntax

ISEMPTY(<table_expression>)  

Parameters

Term Definition
table_expression A table reference or a DAX expression that returns a table.

Return value

True if the table is empty (has no rows), if else, False.

Remarks

This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.

Example

For the below table named 'Info':

Country/Region State County Total
IND JK 20 800
IND MH 25 1000
IND WB 10 900
USA CA 5 500
USA WA 10 900
EVALUATE
ROW("Any countries with count > 25?", NOT(ISEMPTY(FILTER(Info, [County]>25))))  

Return value: FALSE