Hi @Guy_Ekani,
Sure. Just create a weekly predictor, and use the input data element as the generator expression, like
#{pOov3eithai}
That should do it. The predictor will automatically get data from any daily periods that are within the weekly period. For the predictor period type you can choose “Weekly” if you want your weeks to start on Monday, or you can also choose “Weekly starting Wednesday”, “Weekly starting Thursday”, “Weekly starting Saturday”, or “Weekly starting Sunday”.
As with any predictor, you will need to define a data element for the output of the prediction, and assign that to the predictor as the output data element.
If you just want to summarize the daily counts within a week, for that week, the predictor generator expression should not use any aggregation function like sum() in the generator expression, and you can just specify zero for the Sequential sample count and Annual sample count. These features are just needed if you want to time-shift data, for example if you want to store in a weekly period the average weekly sum of some number of preceding weeks.
When you run the predictor, you can specify start and end dates that just have the predictions made for the most recently-completed week, or for any number of prior weeks (in case older data has been subsequently corrected).
Let me know if you have any further questions!
Cheers,
Jim