Thanks! This should work great!
Jasper
-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Thursday, August 02, 2007 11:24 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Report builder question
This is a rolling 12 month report right?
So perhaps....
Month0 = CurMonth
Month1 = IIF(CurMonth + 1 < 13,CurMonth + 1,CurMonth + 1 - 12)
Month2 = IIF(CurMonth + 2 < 13,CurMonth + 2,CurMonth + 2 - 12)
etc....
Then fill each bucket according to if MonthX = DueMonth
Unless I am missing something.
As for the field name quesiton....beats me. Always wondered about that. I have a monthly bucket report with fields JanSales, FebSales, etc... all created in order at the same time....but NovSales and DecSales are seperated from the list by several other fields created much later. RB is just weird like that sometimes. My hunch is how things get stored in arrays in the PRL file.
-Todd C.
________________________________
From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com [mailto: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On Behalf Of Jasper Recto
Sent: Thursday, August 02, 2007 9:57 AM
To: Vantage Groups (E-mail)
Subject: [Vantage] Report builder question
I am trying to create a report builder report that buckets the sales in each month just like the sales backlog report.
I am using this logic:
If the current month = due month > place amount in this months bucket (1st month)
If the current month + 1 = due month > place this amount in next months bucket (2nd month)
If the current month + 2 = due month > place the amount in the 3rd month
etc....
The problem that I am having is the time frame between December and January because the month goes from 12 back to 1.
So, if I ran my report now, the current month is August (8). January would be 5 months from now.
The January bucket logic would look like this:
If the current month + 5 = due month > place the amount in the 6th month
The problem is the due month for January is now back to (1) so the logic fails.
Does anybody have any ideas how to get around this. Is there a better logical way to approach this?
Thanks,
Jasper
[Non-text portions of this message have been removed]
________________________________
The information contained in this E-mail message and any documents which may be attached are privileged and confidential, and may be protected from disclosure.
Please be aware that any use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. If you think you have received this message in error, please reply to the sender.
For more information please visit www.harveyvogel.com
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Jasper
-----Original Message-----
From: Todd Caughey [mailto:caugheyt@...]
Sent: Thursday, August 02, 2007 11:24 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Report builder question
This is a rolling 12 month report right?
So perhaps....
Month0 = CurMonth
Month1 = IIF(CurMonth + 1 < 13,CurMonth + 1,CurMonth + 1 - 12)
Month2 = IIF(CurMonth + 2 < 13,CurMonth + 2,CurMonth + 2 - 12)
etc....
Then fill each bucket according to if MonthX = DueMonth
Unless I am missing something.
As for the field name quesiton....beats me. Always wondered about that. I have a monthly bucket report with fields JanSales, FebSales, etc... all created in order at the same time....but NovSales and DecSales are seperated from the list by several other fields created much later. RB is just weird like that sometimes. My hunch is how things get stored in arrays in the PRL file.
-Todd C.
________________________________
From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com [mailto: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On Behalf Of Jasper Recto
Sent: Thursday, August 02, 2007 9:57 AM
To: Vantage Groups (E-mail)
Subject: [Vantage] Report builder question
I am trying to create a report builder report that buckets the sales in each month just like the sales backlog report.
I am using this logic:
If the current month = due month > place amount in this months bucket (1st month)
If the current month + 1 = due month > place this amount in next months bucket (2nd month)
If the current month + 2 = due month > place the amount in the 3rd month
etc....
The problem that I am having is the time frame between December and January because the month goes from 12 back to 1.
So, if I ran my report now, the current month is August (8). January would be 5 months from now.
The January bucket logic would look like this:
If the current month + 5 = due month > place the amount in the 6th month
The problem is the due month for January is now back to (1) so the logic fails.
Does anybody have any ideas how to get around this. Is there a better logical way to approach this?
Thanks,
Jasper
[Non-text portions of this message have been removed]
________________________________
The information contained in this E-mail message and any documents which may be attached are privileged and confidential, and may be protected from disclosure.
Please be aware that any use, printing, copying, disclosure or dissemination of this communication may be subject to legal restriction or sanction. If you think you have received this message in error, please reply to the sender.
For more information please visit www.harveyvogel.com
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]