In my data set I have data from Dec. 1-28th in column header "Date". Because there are 31 days in Dec., I need to estimate the rest of the data for the following dates: 29th, 30th, and 31st. To do so, I want to use a 7 day lookback. By that I mean, the 29th will use data from the 22nd. The 30th will use the data from the 23rd. The 31st will use data from the 24th.
Solved! Go to Solution.
Hey, thanks for this. Wondering how I could still include 12/22, 12/23, and 12/24 in the output. Right now they are not included
Apologies, change the union input for #2 as shown here:
That makes more sense, thanks!
Were you getting an error on the "Generate Rows" tool? My workflow is saying 'The field "RowCount" is missing. Compare the tool configuration with the input stream.' ?
Check your configuration. Row Count is the default name, but I've changed:
Cool, I missed that bottom section. Thanks for pointing that out.
Wondering if we could tweak this a little. Right now the group by section taking the sum of the total. Instead I want that Raw Data to remain the same and just add the estimated days to the Raw Data. The estimated days would still be gathered by doing the 7 day look back. Does that make sense?
Hi Bolide,
So the output looks good in terms of just adding to the existing raw data, except the data that is added is only 4 rows. Could you help me make it so that the entire target day is added? For example, 29th uses the 22nd as its 7 day look back estimation day. In this case we would see 137 rows of the exact same data from the 22nd used for the 29th.
For the 30th, we will see 126 rows with the date 23rd be used for the 30th.
Does this make sense?