I have an extremely similar issue / set of data as the person from this post ..
Tableau month-based bar chart for data with date range
however the accepted solution doesn't realistically work for my case. They suggested making 12 calculated fields, one for each month, and pivot and display.
The 2 issues I run into with this, is my data spans across 6 years 1. So 6 years x 12 months would be 72+ calculated fields 2. Also, for each additional new month, I'd have to manually create a new calcualted field
My data looks like this:
name | start | end
john | 2015-01-15 | 2018-03-30
tim | 2016-02-01 | 2017-05-15
brian | 2017-02-15 | 2018-04-01
Is there a way in tableau, to have one of the axis show every single month from the min (start date) and max (end date), so that I can tally a total for each month?
UPDATE ** As far as a metric, it would just be a "Number of Records" count. Basically what I'm looking based on each persons start and end date, create a tally for EVERY month, showing how many employees we had for that specific month, so the output would look like (axis could be either way):
Number of Employees
Jan 2015 3
Feb 2015 5
Mar 2015 6
. 4
. 5
. 8
. 7
Sep 2016 10
Oct 2016 13
. 12
. 15
. 15
. 15
Apr 2017 18
etc...
Help or guidance would be greatly appreciated on this!
Thanks