253 AI Prompts for Data Analysis

The best Data Analysis prompts across 7 subcategories. Tested on ChatGPT, Claude, Gemini and every major model.

Browse the prompts

## Role
You are an expert data analyst specializing in education metrics, with deep knowledge of institutional performance measurement and sector-wide benchmarking standards.

## Task
Analyze educational data to identify improvement opportunities and create a comprehensive performance report comparing key metrics against industry benchmarks.

## Context
{{institutional-context}}

Work systematically through:
1. Review and organize the provided data
2. Identify key performance metrics relevant to the focus area
3. Research and compile industry benchmarks for those metrics
4. Analyze current performance against standards
5. Identify significant gaps and improvement opportunities
6. Synthesize findings into an actionable report

## Output
Deliver your analysis as:

**Performance Analysis Table** (markdown format with 4 columns):
- Metric
- Current Performance  
- Industry Benchmark
- Gap An

Education Metric Benchmark Comparison Report Generator

Generates a performance analysis table and prioritized recommendations by comparing institutional education metrics against industry benchmarks. Runs on ChatGPT, Claude, Gemini, and Grok.

16
You are a senior analytics engineer specializing in event-driven conversion funnels and user journey analysis.

Write a SQL query that calculates a **sequential, ordered multi-step conversion funnel** from an events table. The query must:

- **Enforce step order per user**: count only the first occurrence of each step in sequence; a user must complete step N before step N+1 is recognized
- **Apply an attribution window**: events must fall within {{attribution-window}} of the user's first step to count toward the funnel
- **Handle edge cases**: users who repeat steps (count only the first), skip steps (do not credit them for later steps), or never complete the funnel
- **Calculate and return**:
  1. Count of unique users reaching each step
  2. Drop-off count and drop-off % between consecutive steps
  3. Overall conversion rate from first step to final step

**Context:**
{{funnel-definiti

Funnel Conversion Analysis Query

Generate a SQL query for analyzing multi-step conversion funnels from an events table, enforcing step order and handling various user journey scenarios.

16

SQL Cohort Retention Analysis Query

Generate a SQL query for cohort retention analysis, producing both raw counts and retention percentages. Tailor the query for different SQL dialects and period grains.

16

Personal Assistant for Zone of Excellence Management

Generate a comprehensive task management guide that organizes and prioritizes tasks through a Zone of Excellence framework. Produces structured task registers and strategic recommendations.

16
Create an elegant mathematical visualization infographic explaining {{math-concept}}.

Your goal is to build intuitive understanding across four dimensions:
β€’ What the concept is (definition and core structure)
β€’ Why it works (underlying logic or proof sketch)
β€’ Geometric or structural intuition (visual representation of the mathematical objects)
β€’ How it behaves in different contexts (edge cases, parameters, or applications)

Visual style: Design as a high-quality math lecture handout merged with a hand-drawn educational poster. Use a clean, light paper-like background (#F8F6F3 or similar). Title in deep blue (#1A4D7A), main content in black or dark charcoal (#2C2C2C). Accent strategically with 3-4 refined colors: blue, teal, gold, and red for emphasis, color-coding, or contrast.

Layout elements to include:
β€’ Rounded-corner cards or panels to organize sections
β€’ Thin borders (1-2px) to

Mathematical Concept Visualization Infographic

Generate a mathematical visualization infographic to intuitively explain mathematical concepts through elegant, clear, and informative visuals.

15
{{subject-description}}, professional "HAIRSTYLE ANALYSIS" infographic featuring the same male face across all examples, with long thick hair (6-10 inches) and slightly wavy texture.

Clean, modern, premium grooming guide layout.

**TOP TITLE:**
"HAIRSTYLE ANALYSIS - Long Hair Edition"

**LEFT PANEL** (Key Features with icons):
Face Shape: Oval
Hair Type: Thick
Texture: Wavy
Length: Long

**BEST OPTIONS** (Top row with green checkmark indicators):
β€’ Layered Flow Cut (Adds movement & volume)
β€’ Modern Curtain Hair (Stylish & balanced)
β€’ Textured Long Waves (Natural & full)
β€’ Loose Slick Back (Controlled but not flat)

**LESS FLATTERING** (Bottom row with red X indicators):
β€’ Flat Straight Long Hair (No volume)
β€’ Overly Oily Slick Back (Too heavy)
β€’ Uneven Long Layers (Messy shape)
β€’ Excessively Frizzy Look (Uncontrolled)

**BEST HAIR LENGTH SECTION:**
Ideal: 6-10 inches with layers
Avoid: 

Hairstyle Analysis Infographic Long Hair

Generate a professional infographic on hairstyle analysis for long hair, particularly targeting a male model with thick, wavy locks.

15
You are a SQL analyst specializing in window functions for analytical queries.

Write a SQL query that answers the following business question using the appropriate window function:

{{business-question}}

Table schema:
{{schema}}

# Requirements

1. **Choose the correct window function** from ROW_NUMBER(), RANK(), DENSE_RANK(), LAG(), LEAD(), or aggregate window functions (SUM/AVG/COUNT OVER). Explain in one sentence why you chose it over alternatives.

2. **PARTITION BY**: Write one line explaining your partitioning logic and what each partition represents.

3. **ORDER BY**: Write one line explaining your ordering choice and how it affects the window calculation.

4. **Edge cases**: Identify one specific scenario where ties, NULLs, or missing periods would change the result, and state how your query handles it.

5. **Worked example**: Provide a small sample dataset (4-6 rows) and show 

SQL Window Function Builder

Generate SQL queries using window functions for analytical tasks involving ranking, running totals, and comparisons over time, with detailed explanations and examples.

14
You are an expert SQL analyst writing production-grade revenue reports.

Write a SQL query that produces a revenue report from `orders` and `customers` tables with the following requirements:

**Schema context**
{{schema-details}}

**Report specification**
- Group by: {{grouping}}
- Metrics: total revenue, order count, average order value, unique customer count
- Explicitly handle refunds and cancelled orders (state your treatment: exclude, include as negative, or separate column)
- Clearly state whether tax and shipping are included in revenue and document your decision in a comment
- Use consistent date-boundary logic: periods must not overlap and must not leave gaps (e.g., month boundaries at midnight on the 1st, week start on Monday 00:00:00)

**Output the query with:**
1. Opening comment block documenting:
   - Revenue definition (what is included/excluded)
   - Refund and cancellat

Revenue and Sales Reporting Query Builder

Generate sophisticated SQL queries for production-grade revenue reports, tailored to your database schema context and groupings.

12

Create Organizational Charts and Workflows for

Generate detailed organizational charts and workflows for Turkish higher education institutions, ensuring compliance with regulatory frameworks.

10

Batch Extraction Schema for Repeatable Work

Generate structured JSON output for data extraction from specified document types, ensuring accurate field replication.

10

What are AI prompts for Data Analysis?

AI prompts for Data Analysis are engineered instructions that already work. These are not one-line questions. Each one fixes the role, the context, the task and the output format before you type a word, so you get a usable result on the first run instead of the fourth.

They cover the work Data Analysis actually get asked for: research and briefs, copy and content, analysis and reporting, planning, outreach and the admin that eats the day. Open a card to see the full prompt and the output it returns.

The deepest areas here: Data Insights (88 prompts), Reporting & Dashboards (64 prompts), Data Visualization (28 prompts), Data Cleaning (26 prompts), Spreadsheets & Formulas (18 prompts).

Popular on this page right now: "Education Metric Benchmark Comparison Report Generator", "Funnel Conversion Analysis Query", "Slow Query Performance Optimizer".

253 on this page, every one scoped to Data Analysis. Free to read, free to copy.

Why these prompts work for Data Analysis

A weak prompt costs you the hour you were trying to save: you rewrite it three times, get something generic, then finish the job by hand. An engineered prompt front-loads that thinking once.

In Data Analysis that means first drafts you can send, analysis you can act on, and the repetitive work handed off, so the time goes into judgement instead of typing.

Every prompt here was written for a real job and tested against the models people actually use. Nothing scraped from a thread.

How to use these prompts

Open a prompt, copy it, and replace the [bracketed] variables with your own product, audience or topic. The structure around them stays as is. That structure is the part doing the work.

Paste it into ChatGPT, Claude, Gemini, Grok or the model you already use. If the output drifts, tighten the context line instead of rewriting the whole prompt.

No account needed to copy one. No setup, no extension, nothing to install.

Which AI tool works best for Data Analysis prompts?

Text prompts here run well in ChatGPT, Claude, Gemini and Grok; image prompts target Midjourney and Nano Banana. Each card lists the models it was tested with.

Are these AI prompts free to use?

A big part of the library is free: open a prompt, copy it, use it. Premium packs and the Complete AI Bundle unlock the full collection with lifetime updates.

How do I adapt these prompts to my use case?

Start with the [variables]: niche, audience, constraints. If the result still misses, add one example of the output you want. A single good example beats three extra instructions.

For a prompt built from scratch, the Start Now card above opens the custom prompt generator.

Related resources

Get smarter on AI every week

One email a week with the best new prompts, tools, and model updates. Unsubscribe anytime.

Join 100,000+ subscribers. One email a week, real prompts, tools, and model updates. Unsubscribe anytime.