Prompts / Data, Excel & Spreadsheets

Claude prompt to create a dashboard

This prompt creates a dashboard specification with defensible metrics, formulas or queries, layout, and validation checks. Use it when you need an operational dashboard from a spreadsheet, database, or analytics tool.

PromptOpen ChatGPTOpen Claude
Help me design a decision-ready dashboard for [DECISION MAKERS] to manage [BUSINESS QUESTION]. The available data source and tables or sheets are [DATA SOURCES], with these field definitions and known data issues: [DATA DEFINITIONS]. The reporting period and refresh cadence are [TIMEFRAME]. The dashboard will be built in [TOOL]. These are the metrics or targets already approved: [APPROVED METRICS].

Do not start by choosing charts. First, state the decisions this dashboard should support, the action each decision owner can take, and the grain of the data needed. Separate leading indicators from outcome metrics and distinguish counts, rates, averages, and cumulative values.

Produce:

1. A metric dictionary table with metric name, business definition, numerator, denominator, inclusion and exclusion rules, date field, data grain, owner, target, and calculation. Use explicit formulas, spreadsheet formulas, SQL, or pseudocode appropriate to [TOOL]. Do not calculate a rate by averaging already-aggregated percentages unless weighted logic is correct.
2. A data-quality checklist covering missing values, duplicates, late-arriving records, timezone/date boundaries, join multiplicity, test data, and denominator-zero handling. State which checks can materially change each metric.
3. A dashboard wireframe in text: top-level KPI cards, trend section, breakdowns, detail table, filters, and drill-down path. For each visual, name the question it answers, chart type, dimension, metric, and a reason it is preferable to alternatives.
4. Build instructions in a numbered sequence, including query or formula logic, filter behavior, default date range, definitions tooltip, access considerations, and refresh or alert rules.
5. A plain-English readout template that explains what changed, likely drivers supported by the data, caveats, and the next operational question to investigate. Do not claim causation from a dashboard pattern alone.

Do not invent field names, targets, data, query results, or business rules. Flag any metric that cannot be defined from the supplied data. Before answering, check that every chart maps to a stated decision and that all percentage metrics have a valid denominator and time basis. Ask up to 3 clarifying questions only if a required input is missing.

Fill in

PlaceholderWhat to enterExample
[DECISION MAKERS]Name the people who will use the dashboard and the decisions they own.The support operations manager, regional team leads, and VP of Customer Experience.
[BUSINESS QUESTION]State the operational or strategic question the dashboard needs to answer.Where are support response times and resolution quality slipping, and which team lead needs to act this week?
[DATA SOURCES]List the database tables, spreadsheet tabs, analytics exports, or APIs available.Zendesk ticket export, agent roster sheet, CSAT survey export, and a holiday calendar table.
[DATA DEFINITIONS]Provide field meanings, join keys, data grain, and known quality limitations.One row per ticket in tickets; ticket_id is unique. First_reply_minutes excludes tickets created outside business hours only when business_hours_flag is true. CSAT has one row per response and joins on ticket_id. Some tickets have no CSAT response.
[TIMEFRAME]State the reporting period, comparison period, timezone, and refresh frequency.Daily refresh; show trailing 28 days compared with the prior 28 days; America/New_York timezone.
[TOOL]Name the dashboard or analysis tool, such as Google Sheets, Looker Studio, Tableau, Power BI, or SQL.Google Sheets with a Looker Studio dashboard.
[APPROVED METRICS]List existing KPI definitions, targets, and rules that must be used.First-response SLA: percentage of eligible tickets receiving first reply within 60 minutes. CSAT: positive ratings divided by all submitted ratings. Target SLA 90%; target CSAT 92%.

How to use

  1. Paste the prompt and include the real field definitions, especially what one row represents and how tables join.
  2. Ask the AI to generate formulas or queries for your chosen tool, then test them against a small set of known records.
  3. Verify timezones, date filters, and denominator rules before sharing a percentage KPI with decision makers.
  4. Follow up with: "Using the metric dictionary, write the exact BigQuery SQL for the first-response SLA and include a query that checks for duplicate ticket joins."

Variations

Executive scorecard

Use this when leaders need a compact view of outcomes and exceptions.

Variation
Design an executive scorecard for [LEADERS] covering [BUSINESS AREA]. Use these approved KPIs and definitions: [METRICS]. Data is available in [DATA SOURCES] for [TIME PERIOD]. Return no more than eight KPIs, each with formula, target, comparison method, owner, and action trigger. Include a text wireframe and a monthly narrative template. Exclude metrics that have no decision owner or reliable denominator. Flag data-quality, attribution, and target-setting limitations; do not invent benchmarks or performance explanations.

Spreadsheet dashboard

Use this when the dashboard will be built directly in Excel or Google Sheets.

Variation
Create a Google Sheets or Excel dashboard plan using [SHEET TABS] to track [QUESTION]. The key columns and definitions are [COLUMNS], and the required KPIs are [KPIS]. Provide sheet structure, named ranges or tables, exact formulas, pivot-table setup, chart specifications, and error handling for blanks and zero denominators. Include a reconciliation check from dashboard totals to the raw-data tab. Do not assume fields exist or use volatile formulas when a simpler approach works. Flag calculations that need row-level data not supplied.

SQL dashboard query

Use this when you need a reusable query layer before creating visualizations.

Variation
Write a dashboard-ready SQL plan for [DATABASE DIALECT] using [TABLES] to answer [QUESTION]. Define the desired reporting grain, joins, date logic, filters, and approved metric definitions: [METRIC RULES]. Produce a commented query or CTE sequence, a data-quality query for duplicates and null keys, and a validation query that reconciles totals. State assumptions about timezone, late-arriving data, and zero denominators. Do not invent schemas, fields, or join keys; flag missing definitions before writing speculative SQL.

Tips

  • Define the unit of analysis before calculating anything: a row may represent an order, a customer-day, a ticket event, or a survey response, and mixing grains creates misleading totals.
  • For a rate, document the eligible population first; most KPI disputes are denominator disputes, not chart disputes.
  • Use a default time comparison that matches the operating rhythm, such as the prior four weeks for a weekly-managed support team, and label incomplete periods.
  • Give every KPI an owner and action threshold; a metric without a decision or response path is usually dashboard clutter.

FAQ

Can Claude build a dashboard for me?

It can design the metrics, layout, formulas, SQL, and build steps. You still need to connect the real data, test calculations, and configure permissions in the dashboard tool.

What data should I provide in a dashboard prompt?

Provide table or sheet names, field definitions, row grain, join keys, date and timezone logic, data-quality limits, and approved metric definitions. A raw screenshot is usually not enough.

How do I avoid misleading dashboard metrics?

Specify eligibility rules and denominators, check duplicate joins and incomplete periods, and avoid causal claims from trends alone. Reconcile dashboard values to a known raw-data sample.

Related prompts

All Data, Excel & Spreadsheets prompts →

Get a few prompts like this every week

Something Big is a free AI newsletter read by 50,000+ professionals. One email a week with prompts and tools that work, plus what changed in AI and what to do about it.