Channel

date calculations Tag

TL;DR Build as much date logic into your calculations as possible, as opposed to using the Filters Shelf. Put your reference date (e.g. TODAY() ) into its own calculation so it can be easily changed in the future if needed. Centralize your date logic into...

The most common calculations I make in Tableau are date-related. I've made hundreds of them with variations for year-over-year, month-over-month, rolling date ranges and a long list of customizations. Some of our most popular blog posts at InterWorks are those teaching people how to handle...