I have worked with a number of educational institutions, What I’ve found about those institutions, and many other organizations, is that many of them customize the way they track data over time. With a school it might be by trimester, with a restaurant chain it might be by period (there are 13 per year). These types of date fields require customized calculations.

I want to teach you a method I’ve used with various clients when they needed a flexible date field as part of their Tableau dashboard. In one example, I was working with a company that was using Tableau to create client-facing reports. Problem is, they had different granularities of data for different clients. For some clients they collected data daily, others monthly, and some yearly. What they needed was the ability to create a flexible dropdown that allowed them to change the level of date granularity in the view.