function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Deependra Kumar DwivediDeependra Kumar Dwivedi 

Problem on topic -- 'Using Formula Field'

I found given below error when I check Challenge. Even I do all write things.
Challenge Not yet complete... here's what's wrong: 
The 'Days_Since_Last_Update__c' formula field did not return the correct number of days between an Account’s Last Activity Date and today
Vijay NagarathinamVijay Nagarathinam
Hi Deependra,

Use the below formula field, Then the formula field return type should be number.
 
(Today()- Account.LastActivityDate
Please let me know if you need any help regarding this.

Thanks,
Vijay
 
Amit Chaudhary 8Amit Chaudhary 8
Please create one formula field with Number type on case object like below
(Today()- Account.LastActivityDate)
Please check below post for screen shot
1) https://developer.salesforce.com/forums/?id=906F0000000BQmZIAW
2) https://developer.salesforce.com/forums/?id=906F0000000BSUKIA4

Step by Step Screen shot on below post
1) https://developer.salesforce.com/forums/ForumsMain?id=906F0000000BQwUIAW

Step 1:- Go to Setup--> case -> custom field.
Step 2:- Then click on New Field and select formula field as Number
Step 3:- Then add below formula
(Today()- Account.LastActivityDate)
NOTE:- API name should be same.

Pleas let us know if this will help u

Thanks
Amit Chaudhary