Cheat Sheets/Power BI/BLANK
DAX function

BLANKDAX function reference

Return an explicit blank.

Syntax

dax
BLANK()

Examples

dax
IF([Sales] = 0, BLANK(), [Sales])
A blank
dax
IF(SUM(Sales[Quantity]) = 0, BLANK(), SUM(Sales[Amount]) / SUM(Sales[Quantity]))
Blank instead of a misleading zero when there is no quantity
dax
SWITCH(TRUE(), [Total Sales] = 0, BLANK(), [Total Sales] < 0, "Negative", "Positive")
Suppresses a row entirely rather than showing a 0/false-looking value

Common mistakes & gotchas

Related DAX functions

From Logical & error handling

Used in these tutorials

← Back to the Power BI (DAX) cheat sheet