Hi,
I'm trying to write a query that does the following:
First:Assume today is the 10th of january
get the total volume generated from the beginning of this month until today's date. Do the same for the previous three month and then get the business days and compare the volumes based on that. I already did all that.
Now the challenging part is: if there's 11 business days in this month and there was 10 days from the previous month. How can I compare the volume that I have until the 10th business days of this month witht the one from the previous month until the 10th business days.
Note: this should be automated. That means the query should work fine if I run it after 10 days.
any ideas....
Thank you
I'm trying to write a query that does the following:
First:Assume today is the 10th of january
get the total volume generated from the beginning of this month until today's date. Do the same for the previous three month and then get the business days and compare the volumes based on that. I already did all that.
Now the challenging part is: if there's 11 business days in this month and there was 10 days from the previous month. How can I compare the volume that I have until the 10th business days of this month witht the one from the previous month until the 10th business days.
Note: this should be automated. That means the query should work fine if I run it after 10 days.
any ideas....
Thank you