Add hourly and daily KPI calculation.