[Solved] Average within dynamic daterange
Posted: Sat Aug 22, 2020 2:28 pm
Hi there,
I need to calculate an average of records for a dynamic date range that is I need to filter dates from today + 90 days, then do a standard between start and finish followed by using the average function
How do I get the end date x+90 into the query - storing the datediff result to a variable or is there some other way.
Thanks
I need to calculate an average of records for a dynamic date range that is I need to filter dates from today + 90 days, then do a standard between start and finish followed by using the average function
How do I get the end date x+90 into the query - storing the datediff result to a variable or is there some other way.
Thanks