So I have a SQL data table that is nothing but a calendar for the next 200 years. I join this to meaningful 'task data' by the date field on the calendar table matching the task completion date of the task table. I am using that to build a calendar in Tableau and it looks great... at first:
That image above contains no filtering on the owner and shows all the days, even when the task count is 0.
But when I filter for an individual who has no tasks to count, the days disappear that are null:
If I hover over the white square, nothing is displayed in the detail drop down and notice that I've lost some days... I went from 8/5 to 8/9.
I understand why this is happening (because the data simply doesn't exist in the filtered view), but there has got to be a way to still allow the day to display, but simply show a 0 for the task count instead of a null. I've made a custom query and used isnull on both the task_Id and the Task_Owner but I still get the same view. Other than creating dummy data in the db as a placeholder (which I am against) I am not sure how to achieve this.
I'm hoping someone out there has struggled and succeeded with this before and can help me out. I feel like the zn(lookup) function in Tableau may be helpful but I can't seem to apply it in a way that accomplishes my goal.
Any help is greatly appreciated.


NULLis non-existent, so no number of calculationsISNULL, etc are going to be evaluated for that particular "date". The reason you see it, is because Tableau presents it (in this case a blank square) but there is still no data behind it. - NickISNULL,LOOKUP, etc - you are effectively trying to create a new record of data, which Tableau cannot do. - Nick