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
forawormforaworm 

From today until months

Hi,

 

how can i set in an report the default value of start date set to today and the default value of the end date 6 months later?

 

Thank you.

Best Answer chosen by Admin (Salesforce Developers) 
JimRaeJimRae

Only way I have been able to get this to work is with the NEXT n DAYS date key word.SInce there is no Month filter, you will get close with 180 days

 

In your advanced criteria, you will need 2 filters:

 

1) date = TODAY

2) date= NEXT 180 DAYS

 

open the advanced and make sure you say 1 OR 2 for the join.

All Answers

JimRaeJimRae

Only way I have been able to get this to work is with the NEXT n DAYS date key word.SInce there is no Month filter, you will get close with 180 days

 

In your advanced criteria, you will need 2 filters:

 

1) date = TODAY

2) date= NEXT 180 DAYS

 

open the advanced and make sure you say 1 OR 2 for the join.

This was selected as the best answer
forawormforaworm

Thank you for your answer, its a good idea.

 

But, is there realy no month filter? Is there a chance to say: From Today until the last day in the month in x months?

JimRaeJimRae
Not according to the online help.
forawormforaworm
Ok, thank you.