{% extends "base.html" %} {% block title %}PM KPI Dashboard{% endblock %} {% block header %}PM KPI Dashboard{% endblock %} {% block content %}
Project Management Performance

PM KPI Dashboard

A focused view of individual KPI achievement, weighted score, capacity, delivery quality and team performance.
{{ filters.start_date.strftime('%d %b %Y') }} - {{ filters.end_date.strftime('%d %b %Y') }}{{ dashboard.totals.employees }} visible PM{% if dashboard.totals.employees != 1 %}s{% endif %}{{ dashboard.working_days }} working days
{% set t=dashboard.totals %}{% if dashboard.rows|length > 1 %}
{% for icon,label,value,note in [('bi-people','PMs',t.employees,'Visible team'),('bi-graph-up-arrow','Average KPI',t.average_score ~ '%','Team average'),('bi-trophy','Top Score',t.top_score ~ '%','Best performer'),('bi-stars','Above 90',t.above_90,'Excellent'),('bi-exclamation-circle','Below 60',t.below_60,'Needs review'),('bi-calendar3','Working Days',dashboard.working_days,'Selected period')] %}
{{ label }}
{{ value }}
{{ note }}
{% endfor %}
{% endif %}
Individual Performance
PM KPI Scorecards
Each card shows how the final KPI is built.
{% for r in dashboard.rows %}
{{ (r.name or 'PM')[:2]|upper }}

{{ r.name }}

{% if r.is_tl %}Team Lead{% endif %}{{ r.profile_name }}
{{ r.designation or r.department or 'Project Management' }}
{% if r.is_tl %}{% endif %}
{% set ring_color = '#16a34a' if r.final_score >= 90 else '#2563eb' if r.final_score >= 75 else '#d97706' if r.final_score >= 60 else '#dc2626' %}
{% if r.is_tl %}
Score Blend
{{ r.tl_individual_weight }}% Own + {{ r.tl_team_weight }}% Team
Own {{ r.own_score }}% · Team {{ r.team_score }}%
{% endif %}
{{ r.final_score }}%
Final KPI
Projects
{% if r.has_workload_mix %}
{{ r.projects_achieved }} / {{ r.projects_target }}
{{ r.projects_pct }}% achievement · {{ r.average_minutes_per_project }} min/project
Earned {{ r.projects_weighted_score }} / {{ r.projects_weight }}
Target = {{ r.available_minutes }} available min ÷ {{ r.average_minutes_per_project }} min/project
{% else %}
0
No workload mix available
Earned 0.00 / {{ r.projects_weight }}
{% endif %}
Revenue
{{ r.revenue }}
Target {{ r.revenue_target }} · {{ r.revenue_pct }}%
Earned {{ r.revenue_weighted_score }} / {{ r.revenue_weight }}
Profit Margin
{{ r.margin_pct }}%
Achievement {{ r.margin_score_pct }}%
Earned {{ r.margin_weighted_score }} / {{ r.margin_weight }}
On-time Delivery
{{ r.on_time_pct }}%
KPI achievement {{ r.on_time_score_pct }}%
Earned {{ r.on_time_weighted_score }} / {{ r.on_time_weight }}
Rework Control
{{ r.rework_pct }}%
{{ r.tickets }} ticket{% if r.tickets != 1 %}s{% endif %} · deduction {{ r.ticket_deduction }}
Earned {{ r.rework_weighted_score }} / {{ r.rework_weight }}
Available
{{ r.available_hours }} h
{{ dashboard.working_days }} days × 8 h{% if r.is_tl %} × {{ r.team_members }} PMs{% endif %}
Utilized
{{ r.utilized_hours }} h
Standard effort
Remaining
{{ r.remaining_hours }} h
Over {{ r.over_capacity_hours }} h
Utilization
{{ r.utilization_pct }}%
Capacity consumed
Individual Score
{{ r.individual_score }}%
{% if r.is_tl %}Own KPI before team blend{% else %}Weighted KPI after ticket deduction{% endif %}
{% else %}
No KPI data found for this period.
{% endfor %} {% if dashboard.rows|length > 1 %}
Team Comparison
PM Leaderboard
Compact comparison after the individual scorecards.
{% for r in dashboard.rows %}{% endfor %}
RankPMProjectsRevenueMarginOn-timeReworkIndividualTeamFinal
{{ r.rank }}
{{ r.name }} {% if r.is_tl %}TL{% endif %}
{{ r.designation or r.department or '—' }}
{{ r.projects_achieved }}
Target {{ r.projects_target }}
{{ r.revenue_pct }}%
{{ r.revenue }}
{{ r.margin_pct }}%{{ r.on_time_pct }}%{{ r.rework_pct }}%{{ r.individual_score }}%{% if r.is_tl %}{{ r.team_score }}%{% else %}—{% endif %}{{ r.final_score }}%
{% endif %} {% for r in dashboard.rows %} {% if r.is_tl %} {% endif %} {% for jc in r.jobcards %} {% endfor %} {% endfor %}
{% endblock %}