I'm missing some small piece of my puzzle to solve this issue.
I currently have a database that tracks an average number of days on a daily basis for a number of parameters when the database backs up. These daily statistical numbers archive to a table, along with the applicable date. So, for example, there will be a date with an ATDays All piece of data (along with others).
My goal for this data is to be able to create a graph from the archived data that consolidates this information into different ranges, such as in 7-day chunks for a 12-week period, or 30-day chunks for a 12-month period.
I'd like a prompt to show asking for the number of days range data to be graphed... something like Range: [Enter days range for graph], and then to utilize that data to average the data for that period for 12 cycles.
Which is where the issue comes in.
Is there a way to continually compound this range, and utilize that to average for 12 cycles in order to then have the data I need to create a graph?
Such as Avg([ATDays All], Date(), Date()-[Range]), and then utilize that range to create a second number that starts at Date()-[Range], Date()-[Range*2] and so on for 12 cycles.
This seems like it should be a simple thing to do, but the syntax has me totally stumped.
Thanks for the help!
I currently have a database that tracks an average number of days on a daily basis for a number of parameters when the database backs up. These daily statistical numbers archive to a table, along with the applicable date. So, for example, there will be a date with an ATDays All piece of data (along with others).
My goal for this data is to be able to create a graph from the archived data that consolidates this information into different ranges, such as in 7-day chunks for a 12-week period, or 30-day chunks for a 12-month period.
I'd like a prompt to show asking for the number of days range data to be graphed... something like Range: [Enter days range for graph], and then to utilize that data to average the data for that period for 12 cycles.
Which is where the issue comes in.
Is there a way to continually compound this range, and utilize that to average for 12 cycles in order to then have the data I need to create a graph?
Such as Avg([ATDays All], Date(), Date()-[Range]), and then utilize that range to create a second number that starts at Date()-[Range], Date()-[Range*2] and so on for 12 cycles.
This seems like it should be a simple thing to do, but the syntax has me totally stumped.
Thanks for the help!