Skip to main content

Hi,

 

I'm working on a work capacity dashboard and some people have projects whose start date is before the completion date of a previous project, ie. there's overlap. I'd like to come up with a calc to "count" how many times a given projects start date is before the end date of a previous project.

 

So, I want to go from:

Gantt Chart - Calc to Count Overlapping Dates

 

to this:

 

after.PNG

 

I was able to create a formula in Excel using Countifs() that works well enough (which is how made the second picture). However, I can't seem to create something similar in Tableau.

 

Maybe someone can help me out with this?

11 answers
  1. Mar 22, 2020, 2:46 PM

    Does your data have a unique ID for the project, such as a project number? If so, then you could join the data to itself like this:

    Does your data have a unique ID for the project, such as a project number?

    That will duplicate the records, but will also allow us to count the number of overlaps using COUNTD of the project number from the secondary table:

    pastedImage_0.png

0/9000