In order to create custom KPIs a saved search must be built with the necessary filters and result columns
The saved search should have the required date filter added in the available filter section such that the date are compared for days, months and years.
The results must be grouped with the sum, average or count based on the requirements. Add function for the date and the results section.