You need to sign in to do that
Don't have an account?
Ken_m3
Activity Reporting - changing the week from Monday to Sunday
As our salespeople work on weekends we report activities on a Monday to Sunday basis.
I am trying to create a custom field, based on the activity date but I can't seem to access this field in formulas - is this correct? Basically I wanted to create a custom field "week ending" - something like the following:
I'm open to suggestions (short of modifying the report every week) if anyone has a better idea but I really need to be able to show the activities that happened in a given timeframe - from Monday to Sunday
Cheers
Ken
I am trying to create a custom field, based on the activity date but I can't seem to access this field in formulas - is this correct? Basically I wanted to create a custom field "week ending" - something like the following:
CASE( MOD( DATEVALUE(ActivityDate) - DATE(1900, 1, 7), 7),
0, DATEVALUE(ActivityDate),
1, DATEVALUE(ActivityDate) + 6,
2, DATEVALUE(ActivityDate) + 5,
3, DATEVALUE(ActivityDate) + 4,
4, DATEVALUE(ActivityDate) + 3,
5, DATEVALUE(ActivityDate) + 2,
6, DATEVALUE(ActivityDate) + 1,
DATEVALUE(ActivityDate))
I'm open to suggestions (short of modifying the report every week) if anyone has a better idea but I really need to be able to show the activities that happened in a given timeframe - from Monday to Sunday
Cheers
Ken
Unfortunately ActivityDate can not be used in formulas. You could create a custom date field for your purpose, but of course most of us would consider that a really bad workaround.
Not that this helps, but here's the reason Salesforces gives for this limitation:
what about an S Control? Could I get someone to create an inline scontrol that populates a custom field based on the due date or do S controls have the same issues as formulas?