Kpi Dashboard Design

作者 wshobson46891e7e60da无许可证收录于 2026年10月8日更新于 2026年10月8日

Design effective KPI dashboards with metrics selection, visualization best practices, and real-time monitoring patterns. Use this skill when building an executive SaaS metrics dashboard tracking MRR, churn, and LTV/CAC ratios; designing an operations center with live service health and request throughput; creating a cohort retention analysis view for a product team; or debugging a dashboard where metrics contradict each other due to inconsistent calculation methodology.

AI 生成的概览

指导 KPI 仪表板设计,涵盖指标选择、布局层级、可视化实践与监控模式。

功能
该技能为设计 KPI 仪表板提供指导,包括战略/战术/运营三层框架、SMART KPI 标准,以及从高管摘要到明细下钻的仪表板层级。它列出最佳实践,并针对常见问题给出排查模式,例如 MRR 计算口径不一致、仅跟踪滞后的可用性指标、留存队列过于扁平、实时刷新拖垮数据库以及告警疲劳。其产出是设计建议与示例 SQL、Python 片段,而非实际运行代码。
适用场景
适用于规划或改进高管、部门或运营仪表板,挑选有意义的 KPI,或诊断指标相互矛盾、告警不可靠的仪表板。
运行要求
不包含脚本,仅为说明性内容。它引用配套文件 references/details.md 以获取更多示例。示例 SQL 与 Python 片段仅作示意,若实际落地需具备数据库与调度环境。

KPI Dashboard Design

Comprehensive patterns for designing effective Key Performance Indicator (KPI) dashboards that drive business decisions.

When to Use This Skill

  • Designing executive dashboards
  • Selecting meaningful KPIs
  • Building real-time monitoring displays
  • Creating department-specific metrics views
  • Improving existing dashboard layouts
  • Establishing metric governance

Core Concepts

1. KPI Framework

LevelFocusUpdate FrequencyAudience
StrategicLong-term goalsMonthly/QuarterlyExecutives
TacticalDepartment goalsWeekly/MonthlyManagers
OperationalDay-to-dayReal-time/DailyTeams

2. SMART KPIs

Specific: Clear definitionMeasurable: QuantifiableAchievable: Realistic targetsRelevant: Aligned to goalsTime-bound: Defined period

3. Dashboard Hierarchy

├── Executive Summary (1 page)│   ├── 4-6 headline KPIs│   ├── Trend indicators│   └── Key alerts├── Department Views│   ├── Sales Dashboard│   ├── Marketing Dashboard│   ├── Operations Dashboard│   └── Finance Dashboard└── Detailed Drilldowns    ├── Individual metrics    └── Root cause analysis

Detailed worked examples and patterns

Detailed sections (starting with ## Common KPIs by Department) live in references/details.md. Read that file when the navigation summary above is insufficient.

Best Practices

Do's

  • Limit to 5-7 KPIs - Focus on what matters
  • Show context - Comparisons, trends, targets
  • Use consistent colors - Red=bad, green=good
  • Enable drilldown - From summary to detail
  • Update appropriately - Match metric frequency

Don'ts

  • Don't show vanity metrics - Focus on actionable data
  • Don't overcrowd - White space aids comprehension
  • Don't use 3D charts - They distort perception
  • Don't hide methodology - Document calculations
  • Don't ignore mobile - Ensure responsive design

Troubleshooting

MRR shown on dashboard contradicts finance's number

The most common cause is inconsistent treatment of annual plans. Finance may prorate to a daily rate while the dashboard normalizes to monthly. Align on a single formula and document it directly on the dashboard card:

sql
-- Explicit formula shown in tooltip / data dictionary-- Annual plans: divide total contract value by 12-- Quarterly plans: divide by 3-- Monthly plans: use as-isCASE subscription_interval    WHEN 'monthly'   THEN amount    WHEN 'quarterly' THEN amount / 3.0    WHEN 'yearly'    THEN amount / 12.0END AS normalized_mrr

Dashboard shows green but product team reports users complaining

The dashboard likely tracks system uptime (a lagging indicator) but not user-facing quality metrics. Add customer-perceived metrics alongside infrastructure metrics:

Infrastructure (green)User-perceived (add these)
API uptime 99.9%P95 page load time
Error rate 0.1%Task completion rate
Queue depth normalSupport ticket volume

Retention cohort looks flat — no variation between cohorts

Check whether the cohort query is partitioning by signup month correctly. A common bug is using created_at::date instead of DATE_TRUNC('month', created_at), which groups by day and produces cohorts too small to show trends:

sql
-- Wrong: too granular, cohorts are too smallDATE_TRUNC('day', created_at) AS cohort_date
-- Correct: monthly cohortsDATE_TRUNC('month', created_at) AS cohort_month

Real-time dashboard hammers the database

A live dashboard refreshing every 10 seconds with complex cohort SQL will degrade production query performance. Separate OLAP workloads from OLTP by writing pre-aggregated metrics to a summary table via a scheduled job, and have the dashboard read from that:

python
# Scheduled every 5 minutes via cron/Celerydef refresh_mrr_summary():    conn.execute("""        INSERT INTO kpi_snapshot (metric, value, snapshot_at)        SELECT 'mrr', SUM(...), NOW()        FROM subscriptions WHERE status = 'active'        ON CONFLICT (metric) DO UPDATE SET value = EXCLUDED.value    """)

Alert thresholds fire constantly, team ignores them

Static thresholds set once and never reviewed cause alert fatigue. Use dynamic thresholds based on rolling averages so alerts fire only when the metric deviates significantly from its own baseline:

python
# Alert if current value is > 2 standard deviations from 30-day rolling meandef is_anomalous(current: float, history: list[float]) -> bool:    mean = statistics.mean(history)    stdev = statistics.stdev(history)    return abs(current - mean) > 2 * stdev

Related Skills

  • data-storytelling - Turn dashboard findings into narratives that drive executive decisions

来源与署名

来源:wshobson/agents位于plugins/business-analytics/skills/kpi-dashboard-design提交46891e7

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架