How do you Filter on Date that is Null

I have created the following beast mode to attempt to filter on dates that equal null

 

CASE
WHEN 'opportunity date' IS NULL
THEN 'Is null'
ELSE 'Is not null'
END

 

I can see the blank dates in the data but when I add the BM as a filter the only option I have is to select 'Is Not Null'.  How do I get the filter to have the option to select ' Is Null"?

Best Answer

  • Godiepi
    Godiepi 🟣
    Accepted Answer

    try this

    CASE
    WHEN ifnull(`opportunity date`,0) = 0
    THEN 'Is null'
    ELSE 'Is not null'
    END

    also are you using the same date as your X axis ? that might cause trouble since is null .... not in the case of table cards

This discussion has been closed.