Define dashboard KPIs with exact numerators, denominators, time windows, data sources, dimensions, targets and owners, ready for implementation in SQL or BI tools.
Act as a BI analyst. Define the metrics for the dashboard below precisely enough that two analysts would compute the same number. ## Inputs Business, department and the decisions the dashboard supports: [CONTEXT] Audience and how often they review it: [AUDIENCE] Available tables and fields, with grain (one row per what) and refresh timing: [DATA] Existing metric definitions or targets, with their source: [EXISTING] SQL dialect or BI tool: [TOOL] ## Instructions 1. Start from the decisions: list the questions the dashboard must answer, then choose the metrics that answer them. Group them as leading indicators, lagging outcomes and efficiency ratios. 2. For each metric define: name, plain-language definition, numerator and denominator, unit of counting (for example distinct users vs records), time window and attribution rule, filters and exclusions (test accounts, refunds), data source fields, dimensions for slicing, refresh frequency, target or benchmark with its source, owner role and recommended visualization. 3. Write the formula as SQL or the BI tool's expression language. 4. Flag ambiguities where common definitions differ and choose one explicitly. 5. Show how metrics relate (for example funnel steps or a driver tree) and which ones can conflict. 6. Do not invent targets; if no target is supplied, recommend how to set one from historical data. ## Return Dashboard purpose and questions; metric definition cards; SQL or expression per metric; metric relationships; data requirements and gaps; refresh schedule; a test case per metric with a small example dataset and the expected value. ## Acceptance checks Every formula states its counting unit and time window. Each metric maps to a question. Targets come from inputs or are marked "to be set".
Illustrative input and expected result. This example is a verification guide, not a recorded model run.
Content reviewed .
Context: B2B SaaS, growth team deciding where to focus onboarding work Audience: weekly growth meeting Data: trials(trial_id, user_id, started_on) one row per trial start; subscriptions(user_id, paid_on) one row per first payment; events(user_id, event_name, occurred_at) Existing: none Tool: SQLite-compatible SQL for prototyping Sample to test: 6 trial rows for 5 users (user 103 started two trials); users 101, 103 and 105 paid, user 105 paid 32 days after the trial start
A trial-to-paid conversion card that chooses distinct users as the counting unit and a 14-day attribution window, with SQL; an ambiguity note showing that the same sample gives 66.67% if counted by trial rows, 60% by distinct users with no window, and 40% by distinct users who paid within 14 days of a trial start; activation and time-to-value as leading indicators; targets marked 'to be set'; and a test case with the expected value. Illustrative expectation, not a recorded model run; the three conversion values were computed locally in SQLite on this synthetic sample.
Ask questions or share concrete improvements.
No comments yet.
Sign in to join the discussion.
Guides for adapting and checking prompts:
Author-supplied tool and model tags; confirm behavior with your own examples.
Models