Automatic KPI calculation based on actual production and periodic production targets