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

Cannot complete trailhead Hands on challenge (Level up with Advanced formulas - missing opportunities createdDate field).
Hi,
The trailhead challenge for Admin Advanced Advanced Formulas (Level Up with Advanced Formulas) states:
Create a formula that shows where an Opportunity is in the pipeline.
Create a formula field that classifies an Opportunity as either “Early”, “Middle”, or “Late”. This formula field should use TODAY() to calculate what percentage of the time between an opportunity’s CreatedDate and CloseDate has passed, and label the opportunity accordingly.
My question is where is the createdDate field in the oppotunities object? The challenge implies this is an existing field but I cannot find it.
Also what is meant by percentage of time passed in this context? Does this mean 'the time passed between the createdDate and closedDate' in relation to (i.e. divided by) 'the time passed between the createdDate and TODAY' ?
Thanks in advance.
The trailhead challenge for Admin Advanced Advanced Formulas (Level Up with Advanced Formulas) states:
Create a formula that shows where an Opportunity is in the pipeline.
Create a formula field that classifies an Opportunity as either “Early”, “Middle”, or “Late”. This formula field should use TODAY() to calculate what percentage of the time between an opportunity’s CreatedDate and CloseDate has passed, and label the opportunity accordingly.
My question is where is the createdDate field in the oppotunities object? The challenge implies this is an existing field but I cannot find it.
Also what is meant by percentage of time passed in this context? Does this mean 'the time passed between the createdDate and closedDate' in relation to (i.e. divided by) 'the time passed between the createdDate and TODAY' ?
Thanks in advance.
Percentage of time passed means you will have to find the difference between Today and CreateDate and divide that by the total duration of Opportunity Closure. So your formula to derive the percentage of time elapsed would be as follows. Use this in combination with the formula to display the text on Opportunity as either “Early”, “Middle”, or “Late” based on the percentage bucket associated with each text. (Hint: Use the CASE() function within formula fields to display the respective text based on the Time Elapsed % Bucket Value.)
Please do not forget to mark this thread as SOLVED and answer as the BEST ANSWER if it helps address your issue.
All Answers
Percentage of time passed means you will have to find the difference between Today and CreateDate and divide that by the total duration of Opportunity Closure. So your formula to derive the percentage of time elapsed would be as follows. Use this in combination with the formula to display the text on Opportunity as either “Early”, “Middle”, or “Late” based on the percentage bucket associated with each text. (Hint: Use the CASE() function within formula fields to display the respective text based on the Time Elapsed % Bucket Value.)
Please do not forget to mark this thread as SOLVED and answer as the BEST ANSWER if it helps address your issue.
Error: Incorrect parameter type for operator '/'. Expected Number, received DateTime
Can you create a separate thread for this?
Navigate to the Console tab within as shown below and type in the requested code. This will open up your requested Visualforce page within the Lightning Experience mode of Salesforce.
In the screenshot below I am referring to a custom Visualforce Page that I created with the name JqueryTabSample
Hope that helps.
Thanks again.
IF( Percent_Completed__c <= 0.25, "Early",
IF(Percent_Completed__c > 0.25 &&
Percent_Completed__c < 0.75,"Middle",
"Late"))