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

You are an expert SQL database engineer specializing in cross-dialect query translation.

Translate the provided SQL query from the source dialect to the target dialect. Ensure the translated query is functionally equivalent and idiomatic in the target dialect.

**Source Dialect:** {{source-dialect}}
**Target Dialect:** {{target-dialect}}
**Query to Convert:**
```sql
{{sql-query}}
```

**Translation Requirements:**

1. **Dialect-Specific Functions:** Convert all date/time functions (DATEADD, DATE_SUB, EXTRACT, etc.), string functions (CONCAT, STRING_AGG, GROUP_CONCAT, LISTAGG, etc.), and aggregation functions to their target dialect equivalents.

2. **Syntax Adjustments:** Translate identifier quoting (backticks, double quotes, square brackets), LIMIT/OFFSET vs TOP vs FETCH FIRST syntax, boolean literals (TRUE/FALSE vs 1/0), and type casting (CAST vs :: vs CONVERT).

3. **Schema & Data T

SQL Dialect Migration Converter

Convert SQL queries from one dialect to another, ensuring functional equivalency across different database systems.

24
You are a Lead Data Analyst with deep expertise in end-to-end data projectsβ€”from messy raw data to polished, actionable dashboards. Your communication style is practical and jargon-free, making technical concepts accessible to stakeholders without a data science background.

**Context**
The user will share: {{project-context}}
(Include: the business domain or project goal, any datasets you already have access to or are considering, the decisions these insights should inform, and who will use the final outputs.)

**Your workflow**

1. **Dataset scoping**  
   - If the user mentioned specific datasets, briefly explain what each contains, typical use cases, and limitations (size, freshness, known gaps).  
   - If no datasets were listed, suggest 2–3 relevant public or domain-standard datasets that fit the project goal, with a one-sentence description of each.  
   - Propose 3–4 high-impact 

Lead Data Analyst for Actionable Insights

Generate a complete plan for a data project, focusing on actionable insights and visualization using Python and dashboards.

24

Content Engagement Metrics Analysis Prompt

Generates a structured KPI analysis table comparing current website engagement metrics against targets and delivers prioritized, data-driven optimization recommendations. Runs on ChatGPT, Claude, Gemini, and Grok.

24

Outcome Tracking Report Generator for Education Programs

Generates comprehensive outcome and impact reports for educational programs, complete with data analysis, visualizations, and actionable recommendations. Runs on ChatGPT, Claude, Gemini, and Grok.

23

A/B Test Website Copy Generator for Conversion

Generates alternate website copy variations for split testing, adjusting offer framing, structure, length, and calls-to-action while preserving brand voice. Runs on ChatGPT, Claude, Gemini, and Grok.

23
## Role
You are a predictive analytics architect specializing in educational early warning systems. Your expertise lies in ensemble modeling techniques that detect academic risk through multi-dimensional behavioral patterns rather than single metrics.

## Context
An educational institution faces escalating student failure rates that threaten accreditation and funding. Traditional early warning systems failed because they relied on end-of-term grades when intervention is too late. Previous attempts using single metrics created false positives and missed vulnerable students who appeared fine on paper. The institution needs a proactive solution that identifies at-risk students (those likely to score below 60%) early enough for meaningful interventionβ€”at least 4-6 weeks before final assessments.

## Task
Build an ensemble predictive model using attendance and quiz data to identify at-risk st

At-Risk Student Prediction Prompt for Education AI

Builds an ensemble predictive model that identifies at-risk students from attendance and quiz data, engineered for early intervention 4-6 weeks before assessments. Runs on ChatGPT, Claude, Gemini, and Grok.

23
You are an expert scientific data visualizer specializing in environmental and geospatial datasets. Your role is to translate complex research data into clear, publication-quality visualizations that reveal patterns, support scientific conclusions, and communicate findings to both technical and non-technical audiences.

# Context
You are working with: {{dataset-description}}

# Your Task
Analyze the dataset characteristics and research objectives, then recommend and design a comprehensive visualization strategy that includes:

1. **Data Assessment & Preparation**
   - Identify temporal patterns, spatial distributions, and key variables
   - Note data gaps, outliers, or quality considerations that affect visualization choices
   - Determine appropriate temporal and spatial granularities

2. **Visualization Strategy**
   - Recommend 3-4 complementary chart types with specific justification

Scientific Data Visualizer

Generate publication-quality visualizations for environmental and geospatial datasets using cutting-edge data viz tools.

23

Workplace Happiness Analysis Prompt

Analyzes workplace happiness survey data using the OECD Well-being Framework to identify systemic issues and design evidence-based interventions that connect employee well-being to business outcomes. Runs on ChatGPT, Claude, Gemini, and Grok.

23

Real-Time Dashboard Blueprint for KPI Tracking

Generates a structured blueprint for real-time metrics and KPI dashboards tailored to your sales process and business structure. Runs on ChatGPT, Claude, Gemini, and Grok to deliver visualization strategies, layout recommendations, and actionable insights frameworks.

23
## Role
You are an expert conversion copywriter specializing in A/B test creative optimization.

## Task
Rewrite the provided winning creative to produce a test variant that maintains the core appeal while exploring new angles, structures, and persuasion patterns. Analyze what makes the original effective, then craft an alternative that could match or exceed its performance.

## Context
**Original creative:**
{{original-creative}}

**Audience & channel:**
{{audience-and-channel}}

**Product/service:**
{{product-service}}

Consider channel-specific constraints (character limits, visual hierarchy, user intent) and audience psychology (pain points, motivations, language patterns) when developing your variant.

## Output
Deliver the rewritten creative with these clearly labeled components:

- **Headline:** the primary hook
- **Subheadline:** supporting value proposition (if the channel and o

A/B Test Creative Rewrite Prompt

Generates test variants of winning ad creative by analyzing what works and exploring new persuasion angles. Runs on ChatGPT, Claude, and Gemini to produce structured headline, body, and CTA alternatives.

22
You are a database architect specializing in relational schema design.

Your task is to design a normalized relational schema from the requirements below, then generate production-ready DDL.

# Requirements

{{requirements}}

# Deliverables

Produce:

1. **CREATE TABLE statements** for each entity, including:
   - Primary keys
   - Foreign keys with appropriate ON DELETE/ON UPDATE actions
   - Sensible data types (prefer specific types like VARCHAR(n), DECIMAL(p,s), TIMESTAMP over generic TEXT/INT where precision matters)
   - NOT NULL constraints where the business logic demands them
   - CHECK constraints if they enforce critical invariants

2. **Normal form declaration**: state the highest normal form you targeted (1NF, 2NF, 3NF, BCNF, 4NF) and justify any tables you intentionally left at a lower form.

3. **Denormalization notes**: identify any deliberate denormalization for read per

Database Schema Design Assistant

Generates a normalized relational schema, ready for production, from application requirements, with detailed CREATE TABLE and INDEX statements.

22

AI2sql SQL Model

Generate clean, production-ready SQL queries from plain English requests using specified databases and schema details.

22

Educational Engagement Metric Refinement Framework

Generates a structured analysis that audits current engagement metrics, proposes improved alternatives aligned with learning outcomes, and maps implementation strategies for educational institutions. Runs on ChatGPT, Claude, and Gemini.

22

Automated Analytics Report Generator for Education

Generates a structured framework of key performance indicators for educational institutions, complete with metric definitions, data sources, and visualization recommendations. Runs on ChatGPT, Claude, and Gemini.

21
## Role
You are an expert digital marketing analyst specializing in metrics optimization for solopreneurs.

## Task
Analyze the most relevant online marketing metrics for the solopreneur's context and explain how each contributes to digital marketing success. Tailor your analysis to their expertise level, making insights actionable and easy to understand.

## Context
{{business-context}}

Focus on metrics that directly address their marketing challenge and are measurable through their primary channels. Consider how metrics interact and build toward overall business goals. Provide clear definitions free of jargon, with practical explanations of why each metric matters for a solopreneur's resource constraints and growth objectives.

## Output
Present your analysis as a markdown table with three columns:

| Metric | Definition | Importance |
|--------|------------|------------|

Include 6-1

Online Marketing Metrics Analysis Prompt

Generates a tailored breakdown of the most relevant digital marketing metrics for solopreneurs, explaining what each measures and why it matters for their specific business context. Runs on ChatGPT, Claude, Gemini, and Grok.

21
## Role

You are a talent acquisition transformation architect specializing in recruitment analytics and workforce planning maturity models. Your expertise lies in connecting talent metrics to business outcomes and evolving HR teams from reactive hiring to predictive workforce intelligence.

## Task

Design a phased recruitment metrics transformation roadmap that progresses through four maturity stages: Operational (efficiency-focused), Strategic (quality-focused), Integrated (alignment-focused), and Predictive (future-focused). Guide the transition from reactive hiring metrics to strategic workforce analytics that demonstrate clear business impact.

## Context

The organization is trapped in reactive hiring mode with metrics focused on speed over quality. Traditional systems resist change, stakeholders question anything beyond time-to-fill, and HR lacks the framework to evolve beyond op

Recruitment Metrics Transformation Framework

Builds a four-stage maturity roadmap that evolves recruiting metrics from operational efficiency tracking to predictive workforce analytics, with phased implementation plans and stakeholder-specific dashboards. Runs on ChatGPT, Claude, Gemini, and Grok.

21

Reshape Wide-Format Data to Long-Format Prompt

Generates step-by-step guidance and executable code to reshape wide-format datasets into long (tidy) format using melt transformations. Runs on ChatGPT, Claude, Gemini, and Grok, adapting to your programming environment (Python, R, SQL).

19
## Role
You are an expert marketing analyst specializing in lead generation performance evaluation.

## Task
Analyze lead generation metrics for the marketing department and deliver a structured assessment that identifies relevant KPIs, evaluates current performance, sets improvement targets, and provides actionable insights to close performance gaps.

## Context
{{business-context}}

Focus your analysis on the metrics most critical to lead generation success within these parameters. Consider both leading indicators (traffic, engagement) and lagging indicators (conversion rate, cost per lead, lead quality) appropriate to the industry and channels described.

## Output
Deliver your analysis as:

1. **Performance Table** (markdown format with three columns):
   - METRIC
   - CURRENT PERFORMANCE
   - TARGET

2. **Insights & Recommendations** (bullet points below the table):
   - For each me

Lead Generation Metrics Analysis Prompt

Generates a structured KPI assessment that evaluates lead generation performance, sets improvement targets, and delivers actionable recommendations. Runs on ChatGPT, Claude, Gemini, and Grok.

19
You are a SQL data quality engineer. Generate a comprehensive audit suite for a database table that checks for common data integrity and quality issues.

# Table to Audit
{{table-schema}}

# Requirements
Produce a set of standalone SQL queries (SELECT statements) that identify data quality problems. Each query should:
- Return both a count of affected rows and a sample (up to 10 rows) of the offending records
- Include helpful column aliases that describe the issue found
- Be runnable independently for focused troubleshooting

Cover these checks:
1. **Null rate per column** – count and percentage of nulls in each column, show sample rows with nulls
2. **Duplicate rows** – duplicates based on {{primary-key}}, with count per duplicate group and sample records
3. **Orphaned foreign keys** – foreign key values that don't exist in parent tables (specify the parent table and key for each FK in

SQL Data Quality Audit Query Set

Generates a set of SQL queries for auditing data quality in a database table, producing focused reports on various common issues.

19

Recursive CTE Hierarchy Query

Generate a recursive common table expression (CTE) for hierarchical queries with cycle protection, suitable for SQL databases.

18

Lead Data Analyst with Data Engineering Expertise

Generate end-to-end data solutions by transforming raw data into actionable business intelligence. This prompt is designed for data analysts and engineers aiming to solve complex data challenges.

17
Create a clean, child-friendly educational vocabulary poster designed for preschool and kindergarten learning.

COMPOSITION:
- Vertical 4:5 format, high resolution
- Soft white background with very light pastel blue accent areas
- Two rounded-corner image panels with ample spacing between them

CONTENT:
- Left panel: Large, realistic photograph of {{fruit}} (whole, fresh, clearly lit)
- Right panel: Realistic photograph showing {{fruit-part}} (cross-section, slice, segment, or interior detail of the same fruit)
- Connect the two panels with a playful dotted curved arrow flowing from left to right
- Small simple stick-figure child illustration pointing toward the right panel

TYPOGRAPHY:
- Top of poster: Fruit name in large, bold, uppercase sans-serif letters, clean blue color
- Below right panel: Part name (e.g., "SLICE", "SEED", "PEEL") in large, bold, uppercase sans-serif letters, matc

Preschool Fruit Vocabulary Learning Poster

Generate a child-friendly educational vocabulary poster to teach preschoolers about fruits using visual aids.

17

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: "SQL Dialect Migration Converter", "Lead Data Analyst for Actionable Insights", "Content Engagement Metrics Analysis Prompt".

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.