Hi!
I've been banging my head against a particular challenge I'm facing off the back of the design of a Universe I operate in. Unfortunately, changing the universe is not a viable option.
My data contains Events, with Start Date(s) and End Date(s) recorded (among hundreds of other datatypes).
What I am attempting to do is create a new report(easy), with a continual date axis(simple enough), where on each date there is a count of events that are still ongoing(not so easy!).
What I've found is that the continual date variable created through a TimeDim() isn't suitable, as each event record is tied to a specific value of the TimeDim variable.
I'm hoping for an output along the lines of the below. The age checks I'm fine with (and don't actually correspond to the below), and the conditional counts, it's the alignment of week to date.
Week 1 | Week 2 | Week 3 | Week 4 | |
---|---|---|---|---|
Running for under a week | 1 | 4 | 2 | 12 |
Running for over a week but less than a month | 11 | 1 | 23 | 0 |
Running for over a month | 1 | 2 | 1 | 0 |
Is there any way to do what I'm trying to do other than manually creating a ton of individual measures, one per run time per week?