+ Start a Discussion
Lisa Davila 9Lisa Davila 9 

How to clear: The 'Num of Volunteers Still Needed' field on the 'Volunteer Shift' record is not working as expected. Formula used:

IF ((Desired_Num_of_Volunteers__c - Shifts_Taken__c) > 0, Desired_Num_of_Volunteers__c - Shifts_Taken__c, 0)
VinayVinay (Salesforce Developers) 
Hi,

You can reach out to Trailhead team who can help you with these issues using the below link.

Support:https://trailhead.salesforce.com/help

Thanks,
Eric B 18Eric B 18
I'm having same problem.  Spent 4 hours today trying to debug and I am going crazy.
And I don't know if they changed something with the challenge because "help" references before 2021 seem to have the field name as "# of Volunteers Still Needed" instead of "Num of Volunteers Still Needed".

My Config:
Volunteer Shift - Desired Num of Volunteers (Desired_Num_of_Volunteers__c). 
Type Number.  Length 3.  Decimal Places 0.

Volunteer Shift - Shifts Taken (Shifts_Taken__c).
Data Type: Roll-Up Summary
Summary Type: COUNT
Summarized Object: Volunteer Shift Worker  
Filter Criteria: Status EQUALS Confirmed, Completed

Volunteer Shift - Num of Volunteers Still Needed
Field Label: Num of Volunteers Still Needed
Field Name: Num_of_Volunteers_Still_Needed  
API Name: Num_of_Volunteers_Still_Needed__c
Formula: (multiple tried but used same one as Lisa most recently):
IF ((Desired_Num_of_Volunteers__c - Shifts_Taken__c) > 0, Desired_Num_of_Volunteers__c - Shifts_Taken__c, 0)
Lisa Davila 9Lisa Davila 9
Finally figured it out! Remove Num in the formula. Should be Desired_of_Volunteer..... Lisa