Free AI
Prompt Library
← Explore the libraryData & Spreadsheets

Set a metric definition contract before building a dashboard

Define a metric so two analysts can reproduce the same number.

Inputs & setup What you need before copying

Bring: Business question; Source events and fields; Owners and decision rules

Start here: Use spreadsheet or code execution to verify calculations. Supply source observations and definitions; no model fit or test run is assumed.

← Explore this collectionCopy · Add your context · Refine

Best for: Data & analysis

Use this prompt with: ChatGPT · Claude · Gemini

Choose a tool that supports the files or features listed above.

Example result

Sample input

Question: weekly first-response time. Ticket T1 created Monday 09:00, automated acknowledgement 09:01, human reply 11:00. T2 created Sunday 23:00, human reply Monday 01:00. UTC; business-hours policy unspecified.

ILLUSTRATIVE SAMPLE RESULT

Proposed event metric: elapsed UTC hours from creation to first human public response; exclude automated acknowledgements. T1=2 hours; T2=2 hours. Creation-week grouping puts T2 in the prior week even though response occurs Monday. Report unresolved tickets separately to avoid survivorship bias. Business-hours response time is a different metric and is blocked until calendars and holidays are defined. Reconcile ticket counts before averaging; deduplicate by ticket ID and human response event ID. Owner must approve grouping and late-arrival rules before dashboard publication.

YOUR STARTING POINT
Make it yours Fill in your details

Optional. Your details stay in this browser tab.

Read full prompt
Define a metric so two analysts can reproduce the same number. Specify numerator, denominator, grain, time zone, event time versus ingestion time, eligibility, exclusions, deduplication, late arrivals and correction policy. Include worked boundary cases and a reconciliation query or pseudocode. Separate metric movement from evidence of a causal change. Name the owner, source version and change process; do not invent missing business rules. Finish with unresolved choices that block publication.

Business question: [ADD YOUR INPUT]
Source events and fields: [ADD YOUR INPUT]
Owners and decision rules: [ADD YOUR INPUT]

Try a variation 1 ideas

After your first result, try one of these follow-ups.

  • Repeat with one input missing; state which conclusion can no longer be supported.
Check your result
  • Validate edge cases and keep alternate metric definitions distinct.
  • Verify the sample arithmetic and all source facts before using the result.

Weekly prompts & AI news

Useful prompts, fresh image ideas and AI updates. One email a week.

Subscribe to our weekly newsletter. Unsubscribe anytime. Privacy · Open signup form ↗

A LITTLE INSPIRATION, EVERY WEEK

Your next great AI idea
starts here.

Get useful prompts, fresh image ideas and AI news. Free, once a week.

Subscribe to our weekly newsletter. Unsubscribe anytime. Privacy · Open signup form ↗