Forum Discussion
Counting data based off matching data and dates.
Hi Anonymous ,
I think it is hard to achieve your requirement to use download datetime as axis, there are too many different records with same download datetime.
For your requirement, you need to add variable to store table and do looping calculation on its records to calculation through original table to find out specific date records and summary them.
After these steps, you can use iteration functions on above variable table to apply second aggregations on their result.
Can you please explain more about how to calculate your records?(e.g. category fields, filter conditions, detail rolling range...)
Regards,
Xiaoxin Sheng
Sure thing! Anonymous .
Here's my thought process.
I would add a days_forward slider.
Days Forward = DATEDIFF(RunningTotalStartOnLineSchedule[Download Timestamp],RunningTotalStartOnLineSchedule[Scheduled Date],DAY)
This is to return the days we predicted forward. I.e. "I downloaded this data on 8/27/2019. Download Timestamp is going to be the day they said they would do it. I.e. You told me on 8/27/2019(Download Timestamp) you would build Unit X, Y, Z on 8/30/2019(Scheduled Date)"
This will allow us to say 'How accurate are we when we try to schedule 3 days out, or 2 days out, or 1 day out?'
Next my thought process for measuring the adherence is below. I can think of how to do it logically in excel. Maybe it would be return a '1' if true.
'Countif RunningTotalStartOnLineSchedule[IDENT], matches a serial number in SER_STG_CRNT[SERIAL NUMBER] AND if RunningTotalStartOnLineSchedule[Schedule Date], matches the SER_STG_CRNT[STRT_STG_DT]'
This is to give me the 'We accurately scheduled (Sum of column) number of units'
Then I was thinking I could divide the Above statement, by Count of RunningTotalSTartOnLineSchedule[Schedule Date]. How many we predicted to get.
The big thing is to make sure we are only counting the explicit units we predicted. Currently we're measuring 'We said we'd build 4 units, and we built 3.' Regardless of if those 3 are any of the original 4.
- Anonymous7 years agoNot applicable
Anonymous
Here's a markup of what I'd like. Green boxes are counted as 'good' red boxes are counted as 'bad'
We can then do 'Good'/('Good' + 'bad')