You need to sign in to do that
Don't have an account?

Salesforce formulae field to capture yesterday's value
Hey ,
By any means, can we add formula or workflow rule to store yesterday's target in field and today's target in different field? both these fields will change there values everyday everytime we refresh the records ?
Thanks
By any means, can we add formula or workflow rule to store yesterday's target in field and today's target in different field? both these fields will change there values everyday everytime we refresh the records ?
Thanks
Formula fields are run only when the Record is loaded.
You have to use some alternatel means like schedule apex to run and store the value before hand.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_scheduler.htm
Can you explain the scenario in more detail.
Regards,
Ashi
we have filed called "TARGET UNITS". SQL scripts change this field value multiple times a day. I want to store the latest TODAY's value and also the latest value which one day before TODAY.
You can use the
TEXT(PRIORVALUE(TARGET_UNITS__c) and Use the ISCHANGED function on the Formula field
ISCHANGED( your_formula_field_name__c )
See more on the thread below,
https://success.salesforce.com/answers?id=90630000000h2eUAAQ
Regards,
Ashish