Hide view when node's taxonomy value is empty
With the help of my co-worker, we were able to make it work by adding two contextual filters: one for category and one for department taxonomy:



All other check boxes unchecked.