Skip to main content

I want to count the number of contracts based on Start (Contract Start Date FY) and End date (Contract End Date FY)

To do this, I use a parameter date (CheckDate1).

However, what if I want to check a range of dates for example, every single month in 2020, and be able to create a table out of it? Any help is appreciated

Replace a single date parameter with a range of dates

PS: I will do a COUNTD of the above function in separate function.

2 answers
  1. Jan 2, 2021, 10:53 AM

    Good morning - you have what is know as the 2 date problem - you have the start and end date for each contract but want to count how many programs are active each month over the range of contracts - the problem is solved by scaffolding the data with a date ladder - not difficult just several steps - see See it your way: Use a scaffold to solve the 2 date problem (jimdehner2.blogspot.com) it will walk you through the steps - there is also a downloadable workbook at scaffold -2 date example - Jim Dehner | Tableau Public witth how to instructions it returns this

    Good morning - you have what is know as the 2 date problem - you have the start and end date for each contract but want to count how many programs are active each month over the range of contracts - t 

    If this posts assists in resolving the question, please mark it as “Best Answer” or Upvote. 

    Also please help use better track your reply by including a mention to the volunteer who provided the answer  – mine is   @[Jim Dehner]​ 

    Thank you.

    Jim