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
GhulamGhulam 

Trailhead Challenge Using Text Formulas

Hi everyone,
I have a problem when i check challenge it gives an error:
Challenge Not yet complete... here's what's wrong:
The Lead object does not display the formula fields correctly. Tip: check the requirements again and make sure you have the correctly forumlas and their values.

my formulas are below that are working currect but i unable to pass challenge

Lead Quality helper:

IF(ISBLANK(Email), 0, 1) +
IF(ISBLANK(Phone), 0, 1) +
IF(ISBLANK(Company), 0, 1) +
IF(ISBLANK(Title), 0, 1) +
IF(ISPICKVAL(Industry, ""), 0, 1)

Lead Quality:

IF(Lead_Quality_Helper__c=1, IMAGE("/img/samples/stars_100.gif","1 star"),
IF(Lead_Quality_Helper__c=2, IMAGE("/img/samples/stars_200.gif","2 stars"),
IF(Lead_Quality_Helper__c=3, IMAGE("/img/samples/stars_300.gif","3 stars"),
IF(Lead_Quality_Helper__c=4, IMAGE("/img/samples/stars_400.gif","4 stars"),
IF(Lead_Quality_Helper__c=5, IMAGE("/img/samples/stars_500.gif","5 stars"),IMAGE("/img/samples/stars_000.gif","0 stars"))))))

I am not understanding whats wrong with this, help me to pass challenge.

Thanks,
Ghulam
 
Amit Chaudhary 8Amit Chaudhary 8
Please check below post for similer issue
1) https://developer.salesforce.com/forums/?id=906F0000000MNevIAG
2) https://developer.salesforce.com/forums/?id=906F0000000kBhXIAU

Lead Quality Helper (Lead_Quality_Helper__c) :-
IF( ISBLANK( Email ) , 0, 1) + 
IF( ISBLANK( Phone ) , 0, 1) + 
IF( ISBLANK( Company ) , 0, 1) + 
IF( ISBLANK( Title ) , 0, 1) + 
IF( ISpickval(Industry , ""), 0,1)
Lead Quality (Lead_Quality__c) :-
IMAGE( 
CASE( Lead_Quality_Helper__c , 
1, "/img/samples/stars_100.gif ", 
2, "/img/samples/stars_200.gif", 
3, "/img/samples/stars_300.gif", 
4, "/img/samples/stars_400.gif", 
5, "/img/samples/stars_500.gif", 
"/img/samples/stars_000.gif"), 
"0 stars")
.....................
or  (I used below one)
CASE(Lead_Quality_Helper__c, 
1, IMAGE("/img/samples/stars_100.gif", "1 star"), 
2, IMAGE("/img/samples/stars_200.gif", "2 stars"), 
3, IMAGE("/img/samples/stars_300.gif", "3 stars"), 
4, IMAGE("/img/samples/stars_400.gif", "4 stars"), 
5, IMAGE("/img/samples/stars_500.gif", "5 stars"), 
IMAGE("/img/samples/stars_000.gif", "0 stars"))
Please let us know if this will help you



**********************************************


Please check Namespace is enable in your org or not . Please check below Trailhead FAQ
1) https://developer.salesforce.com/page/Trailhead_FAQ

I think my work is correct, but the challenge verification is still giving me an error.
If you think you've completed the challenge correctly, but you are still getting errors, make sure that you are using a fresh Developer Edition that does not have a namespace prefix. (What is a namespace prefix?) If you are still having trouble, use the “Share Feedback” button in the footer or on the right column to send a support request.


Please try to create  new developer org without domain name and namespace  with same formula field

let us know if this will help you

Thanks
Amit Chaudhary
 
alam Khanalam Khan
Hi Amit,

Challenge is passed with other dev org without domain....

Thanks,
Ghulam
alam Khanalam Khan
Hi Amit,

is it possible with domain name and namespace ???

Thanks,
Ghulam
Badrinath Murali 7Badrinath Murali 7
Hi, I am getting the same error as mentioned above even when I tried to re-do the challange with a new developer org:

My formula is as below:

Lead_Quality_Helper__c

IF( ISBLANK( Email ) , 0, 1)+ 
IF( ISBLANK( Company ) , 0, 1)+ 
IF( ISBLANK( Title ) , 0, 1)+ 
IF( ISBLANK( Phone ) , 0, 1)+ 
IF( ISPICKVAL( Industry , " ") , 0, 1)

Lead_Quality__c

IMAGE( CASE( Lead_Quality_Helper__c , 
1, "/img/samples/stars_100.gif ", 
2, "/img/samples/stars_200.gif ", 
3, "/img/samples/stars_300.gif ", 
4, "/img/samples/stars_400.gif ", 
5, "/img/samples/stars_500.gif ", 
"/img/samples/stars_000.gif" ) , 

CASE( Lead_Quality_Helper__c , 

1, "1 Star", 
2, "2 Stars", 
3, "3 Stars", 
4, "4 Stars", 
5, "5 Stars" , 

"0 Stars"))

Thanks

Badri