If you’ve ever received the error “Cannot mix aggregate and non-aggregate comparisons or results in ‘IF’ expressions in Tableau I feel your pain. I spent my first several months in Tableau not understanding what that error meant and running into impassable roadblocks aggregating data in Tableau as a result.