You need to sign in to do that
Don't have an account?
splashgordon
Defining custom global variables
Is there any way to define a custom global variable (or re-purpose an existing global variable)? The issue we have is that we have a large number of reports (c. 40) that refer to a certain date. That date needs to be changed each week after we have done some manual data loading using data loader. Our current process is that one of our users manually goes into each report, changes the date and saves the report. This is a time consuming process and error prone.
A better solution would be to have a global variable defined that is referenced by the reports and then each week they simply need to change the value of that global variable.
Has anyone come across this sort of requirement before or have any ideas how this could be achived? The date is actually referenced in both the filter criteria and the timerame criteria of the reports. However, even if the solution fixed one of those that would be very helpful.
I look forward to any advice you can offer.
Thanks!
Gordon.
Have you thought of using relative dates? I'm guessing that you have because it sounds like you need an exact date... but thought I'd mention it just in case you overlooked that possibility.
Search in Help & Training on "relative date" and look for the Solution "How do I create reports or views using relative dates?"
Hi and thanks for the idea. Relative dates aren't an option unfortunatelt as we need an exact date (as you surmised).
The process we have is that we load timesheet data from a corporate system into salesforce on a weekly basis (every Tuesday). The data loaded is up to the previous Sunday. All the reports I am referring to report on that data in various ways. The problem with using a relative data, such as give me a total of all hours "less than LAST WEEK" is that it would work on the Wed, Thu, Fri, Sat, Sun following the upload but, the moment we move into the following Mon and Tue (and before we do the upload again), it would be looking at a week with no data.
We therefore use the exact date of the Sunday that marks the end of the time reporting period. This is referenced in around 40 reports and, as such, we have to update them all as part of the Tuesday process each week. This is why I am trying to find a global variable solution so I can simply update the variable value in one place and have the reports refer to it.
Keep the ideas coming!
Cheers,
Gordon.
Message Edited by splashgordon on 11-09-2007 03:11 AM
I haven't given this much thought, but could you use a formula based on the date of upload to calculate a week number that's saved along with the data when you upload it in the first place? Then your reports can use the higest week number instead of date based reporting.
Best, Steve