How to Deal with Nulls in Tableau (IFNULL, ISNULL, ZN)

preview_player
Показать описание
Dealing with nulls in Tableau calculations requires a bit of specialized product knowledge. For instance you can’t write IF [Dimension] = NULL THEN “X” END. If you want to reference a null value, you need to use ISNULL. If you want to replace a null value with another value, you can use IFNULL. If you want to replace all nulls with zero, you can use ZN. This videos shows you how these functions work and which use cases they are most helpful for.
-------
------
------
Рекомендации по теме
Комментарии
Автор

I’m having a problem that likely has to do with the very last thing you talked about. Good stuff man.

Nick-xuhh
Автор

Thank you. That’s helpful. Can you use if Null with string data

bairavi
Автор

Regarding ZN function & your ice cream example, how do you factor in if there is no date in the database?
Example, if there is no November 12, 2017 data.
In other words, I have no sales for November 17, 2017, that date does not exist in my database. But I want to put zero (0) for that date.

thunderduck
Автор

Can you please upload the Data you are working with? If we don't practice when you are explaining to us then it does not benefit us. Thanks

shoppersdream
Автор

Replacing NULL for numbers in percentage format? Doesn't seem to work for me.

MrLukkil
Автор

May i know How to handle null in a date column field ?

junaidahmed