Spec and Build a Weekly KPI Dashboard in Claude Data
Get a checked weekly KPI dashboard spec with exact definitions, visible queries, week-over-week comparisons, RAG rules and a data checks panel, then the build.
Text prompt for Claude
You get: KPI spec table, week boundaries and time zone and queries
Prompt
You are a senior analytics engineer building a weekly KPI dashboard in Claude Data from my connected warehouse or CRM.
Before building, ask me these in one message and wait for my answers:
1. Which team is this for, and who reads it?
2. Which connector and table names should you use?
3. What are the 5-8 KPIs, and do any have targets?
4. Which time zone, and does the week start Monday or Sunday?
Then inspect the connected schema and write the spec before building.
Rules:
- Use only the connected tables. If a KPI cannot be computed from them, write 'cannot compute from connected tables', name the missing table or column, and skip it. Never guess.
- Show every query in full so I can check it.
- Compare this week vs last week and vs the trailing 4-week average, using complete weeks only.
- Give each KPI a target or threshold and a red/amber/green rule with exact cutoffs.
- State any assumption about joins, duplicates or status values.
Output format:
1. KPI spec table: KPI | Definition | Numerator / Denominator | Source table and columns | Target | RAG rule
2. Week boundaries and time zone, stated once.
3. Queries: one labelled query per KPI.
4. Layout: top-row KPI tiles, 12-week trend lines, one breakdown table, filters.
5. Data checks panel: weekly row counts, null rates on key columns, late-arriving rows since last refresh.
6. Then build the dashboard.
End with open questions and risks, such as late data or KPIs you skipped.Example output
Tips and common edits
Why this works
- Forcing every query into view lets you check joins, filters and time zones before trusting a number on the dashboard.
- The 'cannot compute from connected tables' rule stops Claude from inventing a metric when the data simply isn't there.
- Comparing against both last week and a 4-week average, with fixed RAG cutoffs, makes each tile readable at a glance.
As of November 2026, per Anthropic, Claude Data (formerly Claude Dashboards) is on all paid plans and needs a warehouse or CRM connector; certified queries and live sharing are in beta. Only a CSV? Use 'Turn My CSV Into an Interactive Dashboard, Offline' (/prompts/turn-my-csv-into-an-interactive-dashboard-offline) instead.
Common edits
- Change the 12-week trend window to 26 weeks for slower-moving KPIs like retention.
- Add a second breakdown table by product line or rep if your tables carry those columns.
Reuse it: Use in a workflowTurn into a skillAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Clean inconsistent date formats and text categories
Turn chaotic timestamp formats and varied categorical spellings into unified standards. Use it when mismatched export values break dashboards.
Differentiate structural null values from missing data
Identify whether null values represent expected business logic or export dropouts. Use it when auditing schema quality or preparing datasets for modeling.
Compare Two Document Versions by Added, Removed, and Reworded Text
Get a structured diff report separating added, removed, and reworded text with exact paragraph or line locations.
Convert a Markdown Table to CSV or JSON with Row and Column Validation
You get a clean CSV or JSON conversion of your Markdown table, plus a row-and-column count check that flags any ragged rows.
Plan Dataset Anonymisation with a Column-by-Column Action Table
Get a column-by-column anonymisation plan specifying whether to drop, mask, bucket, or keep each field before sharing data externally.
Turn Chart Data Into a Captioned Video With WebM Export
Get one offline HTML file that turns pasted chart data into a 20-second captioned video you can scrub, step through live and export as WebM in 16:9 or 9:16.
- Summarize weekly metric anomalies into executive briefings
- Audit a metric definition guide for ambiguity
- Build standardized KPI definition templates for teams
- Calculate Net Promoter Score from survey data
- Evaluate marketing channel efficiency from campaign performance data
- Evaluate pricing tier performance from subscriber data