Tableau date period comparisons and calculations work great as long as you use a conventional calendar. If your organization uses a non-standard calendar (e.g. your fiscal year doesn’t start on January 1st or you have comparison periods like semesters which aren’t native to Tableau), you probably need to create and integrate your own calendar with your data source.