Complete the code to check if a column value is blank in DAX.
IsBlankValue = IF(ISBLANK([1]), "Blank", "Not Blank")
In DAX, to check if a column value is blank, you use ISBLANK with the column reference like Table[Column].
Complete the DAX formula to replace blank values with zero.
ReplaceBlank = IF(ISBLANK([1]), 0, [1])
You check if the column Table[Sales] is blank, then replace it with 0; otherwise, keep the original value.
Fix the error in this DAX measure that counts non-blank values.
CountNonBlank = COUNTROWS(FILTER(Table, NOT(ISBLANK([1]))))The FILTER function needs a column reference inside ISBLANK to check each row's value. Table[Date] is correct.
Fill both blanks to create a measure that returns 'No Data' if the sum is blank, else the sum.
TotalSales = IF(ISBLANK([1]), [2], SUM(Sales[Amount]))
The measure checks if the sum of Sales[Amount] is blank. If yes, it returns the text "No Data"; otherwise, it returns the sum.
Fill all three blanks to create a measure that counts rows where a column is not blank and greater than 100.
CountValid = COUNTROWS(FILTER(Table, NOT(ISBLANK([1])) && [2] > [3]))
The measure filters rows where Table[Score] is not blank and greater than 100, then counts those rows.