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
Prem Singh 9Prem Singh 9 

records for only sixth month from current month

I have a report in which I need to retreive records in a report which as due to close for sixth month from the current month. For example. if it's july I should show records which are due to close for January only. Please help me to understand how can I do that in a report
ANUTEJANUTEJ (Salesforce Developers) 
Hi Prem,

I think you should be able to query records as per your conditions by applying filters and then show them in a table  either in a visualforce page or in a lightning component.

I hope this helps and in case if this comes handy can you please choose this as best answer so that it can be used by others in the future.

Regards,
Anutej
Prem Singh 9Prem Singh 9
Hi Anutej, I need to have a filter in report to show the records it the report I specified. I have nothing to do with Visualforce page and lightning component. Can you help me with the filter condition.