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
Josh HarshJosh Harsh 

Visualforce Dashboard Component on two date fields.

We have a custom object called employees, we have two specific date fields on each record the hire date and date no longer with the company. My question is it possible to create a report that shows how many people were hired and how may people are no longer with the company for any given month? It would look something like the below:
User-added image

Any help would be very beneficial. Thanks.
PratikPratik (Salesforce Developers) 
Hi Josh,

You can create 2 custom fields to capture the Joining date and Last day (leaving) date. 

Once you have these 2 dates, you can group the dates on monthly basis and get a count of hired and no longer people in your company.

Thanks,
Pratik