Reputation: 81
We have a date column which has a lot of Null Values. We want to replace these null values with "N/A", however for date columns I dont see aliases where I can change it with a click of a button.
So I wrote the following calculation :
IFNULL(str([Arrival Date]),"N/A")
Since this calculation is now a string, I cannot change the format of the date like I could for any normal date column.
Since this new calculated field has string values, I know i cannot convert it back to date. So how can i now handle the date formats ?
Upvotes: 0
Views: 7482
Reputation: 3093
BLANK
is the default value for NULL
in Tableau.
Set how tableau treats these values
See this screenshot
In case it's a discrete value refer to Tableau KB: Replacing Null Literals
Upvotes: 2