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
Romana ReynaRomana Reyna 

App Customization Specialist 4 - problem with date range values

Can't figure out what I'm doing wrong to get this:
Challenge Not yet complete... here's what's wrong:  The 'My Upcoming Shifts' report is not using the correct date range values.

My settings are:
User-added image
I've tried to set it these ways as well:
- Shift Start Time equals TODAY, NEXT 30 DAYS;
- Shift Start Time equals TODAY, NEXT 29 DAYS;
- Shift Start Time greater or equal TODAY and Shift Start Time less or equal NEXT 30 DAYS;
- Shift Start Time greater or equal TODAY and Shift Start Time less or equal NEXT 29 DAYS.

The related help page says that:
NEXT n DAYS for custom field filters, starts at 12:00:00 AM on the next day and continues for the next n days. (The range does not include today.)
For standard date filters it starts at 12:00:00 AM on the day that the report is run and continues for n days. (The range includes today.)

Where am I wrong?
Romana ReynaRomana Reyna
Just in case, if somebody will need info about how to solve this problem - the date range has to be set here:
User-added image
I couldn't find how to set relative range in Lightning Experience so had to recreate report in Salesforce Classic.
RiteshKonduruRiteshKonduru
Refer below link
https://success.salesforce.com/answers?id=9063A000000iki1QAA

this will also help you.
David G WellerDavid G Weller
I am seeing the same error.  Ritesh, are you saying this report problem can ONLY be fixed in Salesforce Classic?  That seems like a very unacceptable answer, considering this is a lightning experience Superbadge.
David G WellerDavid G Weller
Just a followup to my comment -- it did indeed clear out the problem.  You _absolutely_ have to shift to Classic mode in order to complete this superbadge step.  That's an absolute shame - I've literally wasted 16 clock hours struggling to resolve this matter.  I reluctantly shifted to SF Classic and made that single change and the problem immediately resolved.
Harsh Purohit 1Harsh Purohit 1
It works in Lightning as well. You just need to edit the existing date field at the top which is generally auto populated as 'Created Date' or 'Chatter Adoption Stage' to the date range as mentioned below.

User-added image
Matt LeDonne 4Matt LeDonne 4
Mark Harsh Purodit 1's answer as the best answer. This fixed the issue for me. No need to switch to Classic.
Pavankumar Kulkarni 12Pavankumar Kulkarni 12
@Harsh's answer solved my problem. Thanks a lot.
Shital Patel 17Shital Patel 17
Harsh, I did set the auto populate field 'Chatter Adoption Stage Modified date' to Next 30 days/ All time. But still getting the same error.
Piyush DhakedPiyush Dhaked

Shital Patel 17 You have to populate "Chatter Adoption Stage Modified date" to Shift Start Time and then to Next 30Days.

 

Hope this help.