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
Prashant GandhiPrashant Gandhi 

Facing issue in "Using Formula Fields" challenge (Admin-Intermediate)

Hi,
While working on the challenge, i am facing an error.
Screen-shot has been attached for reference. (Error screenshot)

Do you let me where i am going wrong.

the error i am getting.
.User-added image


I tried this due to which i am getting the above error.
User-added image


Thank You.
Swayam@SalesforceGuySwayam@SalesforceGuy

Hey,

You need to create number field, with 0 Place as Decimal and Use the  formual LastActivityDate - Today()

Hope this helps !!

--
Thanks,

Swayam

rajesh sharma 22rajesh sharma 22
It should be like this way.

TODAY() -  Account.LastActivityDate

becuase  Account.LastActivityDate - TODAY() will return a minus no of days in difference 
Amit Chaudhary 8Amit Chaudhary 8
your fomula should be like below
 
(Today()- Account.LastActivityDate)
Please refer below screen shot. I hope that will help you
User-added image

Let us know if this will help you