# Executive Sales Performance Dashboard (2022–2024) ## 1. Dashboard Title & Purpose **Title:** "Sales Command Center: Regional Performance & Q-Forward Forecast" **Purpose:** Enable executives to monitor revenue/profit health, identify underperforming regions and categories, rank salespeople, and forecast next quarter's revenue using AI-driven trend analysis. ## 2. KPI Cards (Top Row) | KPI | Formula (DAX) | |---|---| | Total Revenue | `Total Revenue = SUM(Sales[Revenue])` | | Gross Profit | `Gross Profit = SUM(Sales[Revenue]) - SUM(Sales[Cost])` | | Profit Margin % | `Margin % = DIVIDE([Gross Profit], [Total Revenue])` | | Units Sold | `Units = SUM(Sales[Units_Sold])` | | YoY Revenue Growth | `YoY % = DIVIDE([Total Revenue] - CALCULATE([Total Revenue], SAMEPERIODLASTYEAR(Sales[Date])), CALCULATE([Total Revenue], SAMEPERIODLASTYEAR(Sales[Date])))` | | Avg Revenue/Salesperson | `= DIVIDE([Total Revenue], DISTINCTCOUNT(Sales[Salesperson]))` | ## 3. Chart Recommendations 1. **Line Chart with Forecast** — X: `Date` (monthly), Y: `Revenue` by `Region`. *Shows trend + 3-month forecast; best for time-series continuity.* 2. **Clustered Bar Chart** — X: `Revenue`, Y: `Region`, Legend: `Product_Category`. *Quickly reveals underperforming region-category pairs.* 3. **Heatmap/Matrix** — Rows: `Product_Category`, Columns: Month, Values: `Margin %`. *Surfaces profitability dips invisible in aggregated totals.* 4. **Top N Bar Chart** — Top 10 `Salesperson` by Revenue with profit overlay. *Ranks individual contributors.* 5. **Scatter Plot** — X: `Units_Sold`, Y: `Revenue`, size: `Cost`, color: `Region`. *Exposes pricing/volume outliers.* 6. **Waterfall Chart** — YoY revenue change decomposed by `Region`. *Explains growth drivers vs. drags.* 7. **Donut Chart** — Revenue share by `Product_Category`. *Compact mix view.* ## 4. Filters / Slicers - Date range slicer (2022–2024) - `Region` multi-select - `Product_Category` dropdown - `Salesperson` search slicer - Year/Quarter hierarchy toggle ## 5. AI-Generated Insights Panel Use Power BI **Smart Narrative** / Tableau **Explain Data** / Excel **Ideas** to surface: - **Anomalies:** Months where a region's revenue drops >2 standard deviations from its 12-month rolling mean. - **Trend Detection:** Categories with consistent 3-month declining margin. - **Forecast:** Next quarter revenue per region using exponential smoothing (ETS); display 95% CI. - **Correlation Flags:** High Units_Sold but low Margin (discounting risk). - **Salesperson Alerts:** Reps whose revenue declined >20% QoQ. - **Regional Benchmark:** Auto-text like "West lags North by 34% in Electronics despite equal headcount." ## 6. Suggested Layout (12-column grid) ``` Row 1 (KPI strip): [Revenue][Profit][Margin%][Units][YoY%][Rev/Rep] Row 2 (cols 1–8): Line Chart w/ Forecast Row 2 (cols 9–12): AI Insights Narrative Panel Row 3 (cols 1–6): Region×Category Bar | (7–12) Margin Heatmap Row 4 (cols 1–4): Top 10 Salespeople | (5–8) Scatter | (9–12) Waterfall Row 5 (full width): Filters/Slicers bar + Donut (right corner) ``` ## 7. Implementation Steps ### Power BI 1. Get Data → Excel → load sheet; in Power Query, set `Date` as Date, trim text columns, remove nulls. 2. Create Date table: `Calendar = CALENDAR(MIN(Sales[Date]), MAX(Sales[Date]))`; mark as date table. 3. Build measures above in a dedicated "Measures" table. 4. Drag visuals per layout; on line chart → Analytics pane → add Forecast (3 months, 95% CI). 5. Insert Smart Narrative visual; add slicers; publish to Service and schedule refresh. ### Tableau 1. Connect to Excel; verify data types in Data Source pane. 2. Create calculated fields: `Profit = [Revenue]-[Cost]`, `Margin % = SUM([Profit])/SUM([Revenue])`. 3. Build each sheet, then assemble a Dashboard (1600×900). Enable **Forecast** on line chart (Analysis menu). 4. Use **Explain Data** on marks for AI insights; add filter actions across sheets. ### Excel (Power Query + PivotCharts) 1. Data → From Table/Range → load to Power Query; clean and Close & Load to Data Model. 2. Insert PivotTables for each KPI and chart; convert to PivotCharts. 3. Add Measures via Power Pivot (same DAX as above). 4. Insert Timeline and Slicers; connect to all pivots via Report Connections. 5. Use **Forecast Sheet** (Data tab) on monthly revenue for next-quarter projection; embed as linked chart.
Turn Excel Spreadsheets into AI-Powered Dashboards
Tested prompts for ai dashboard from excel data compared across 5 leading AI models.
BEST BY JUDGE SCORE
Claude Haiku 4.5
8/10
The prompt we tested
You are a data visualization expert who transforms raw Excel data into clear, actionable AI-powered dashboards. Analyze the Excel data context provided below and design a complete dashboard specification. Rules: Structure output with clear markdown headings for each of the 7 sections. Be specific — reference actual column names from the input, provide exact DAX/Excel formulas where relevant, and justify every chart choice in one sentence. Keep total response under 600 words and prioritize insights that would be hard to spot manually. Excel Data Context: I have an Excel file with monthly sales data from 2022-2024 with columns: Date, Region (North/South/East/West), Product_Category, Units_Sold, Revenue, Cost, and Salesperson. About 15,000 rows. I need a dashboard for executives to track performance, spot underperforming regions, and forecast next quarter. Produce a full dashboard blueprint including: (1) Dashboard Title and Purpose, (2) Recommended KPI cards with formulas, (3) Chart recommendations (type, x/y axes, data source columns, why this chart), (4) Filters/slicers to include, (5) AI-generated insights section (anomalies, trends, forecasts to surface), (6) Suggested layout (grid placement), and (7) Step-by-step implementation instructions for Power BI, Tableau, and Excel (Power Query + PivotCharts).
Model comparison
| Model | Quality | Cost | Latency | Tokens |
|---|---|---|---|---|
| Claude Opus 4.7 | 8 | $0.1606 | 30.3s | 475 / 2047 |
| Claude Haiku 4.5 | 8 | $0.0076 | 17.7s | 324 / 1463 |
| GPT-5.4 | 8 | $0.0238 | 20.7s | 286 / 1539 |
| Gemini 2.5 Pro | 1 | $0.0008 | 17.3s | 300 / 88 |
| Grok 4.1 Fast Reasoning | 7 | $0.0005 | 10.3s | 435 / 792 |
Outputs
# Sales Performance & Forecasting Dashboard Blueprint ## 1. Dashboard Title and Purpose **"Regional Sales Command Center (2022-2024)"** Executive-focused dashboard enabling real-time performance tracking across regions, identification of underperforming territories, and AI-driven quarterly forecasting to support strategic resource allocation and compensation decisions. --- ## 2. Recommended KPI Cards with Formulas | KPI | Formula | Justification | |-----|---------|---| | **Total Revenue YTD** | `=SUMIFS(Revenue, Date, ">="&DATE(YEAR(TODAY()),1,1))` | Baseline performance metric | | **Profit Margin %** | `=SUM(Revenue)-SUM(Cost) / SUM(Revenue)` | Reveals cost-efficiency gaps by region | | **Revenue Growth MoM %** | `=(CurrentMonth Revenue - PriorMonth Revenue) / PriorMonth Revenue` | Spots momentum shifts executives miss | | **Avg Revenue per Salesperson** | `=SUM(Revenue) / COUNTA(DISTINCT Salesperson)` | Identifies top performers vs. coaching needs | | **Units/Revenue Ratio** | `=SUM(Units_Sold) / SUM(Revenue)` | Detects quality degradation (lower price per unit) | --- ## 3. Chart Recommendations | Chart Type | Data | Axes/Fields | Why This Chart | |---|---|---|---| | **Clustered Column** | Revenue by Region × Month | X: Date (monthly), Y: Revenue, Color: Region | Compares regional trends side-by-side to spot seasonal underperformance (e.g., West plateau). | | **Stacked Bar** | Product_Category revenue contribution | X: Revenue, Y: Region, Stack: Product_Category | Reveals if underperforming regions lack diversification (e.g., North over-reliant on single category). | | **Scatter Plot** | Units_Sold vs. Revenue by Salesperson | X: Units_Sold, Y: Revenue, Size: Profit_Margin | Exposes salespeople with high volume but low-margin deals or suspicious efficiency outliers. | | **Line Chart + Forecast** | Revenue trend with 90-day forecast | X: Date, Y: Revenue, Color: Region | Time-series visualization + AI trendline enables visual Q4 forecast validation against actuals. | | **Heatmap** | Profit Margin % by Region × Month | Rows: Region, Columns: Month, Color Intensity: Margin % | Dense matrix quickly flags chronic underperformance (e.g., South margin erosion in Q3 2023). | | **KPI Gauge** | Revenue vs. Target by Region | Gauge Value: Actual, Range: Target | Visual accountability—shows which regions exceed/miss benchmarks instantly. | --- ## 4. Filters/Slicers to Include - **Date Range** (month/quarter picker for trend isolation) - **Region** (multi-select: North/South/East/West) - **Product_Category** (identify category-driven regional gaps) - **Salesperson** (drill into individual performance) - **Profit Margin Range** (isolate low-margin transactions) --- ## 5. AI-Generated Insights Section **Automated Anomaly Detection:** - Flag regions where Revenue/Units ratio dropped >15% MoM (price-cutting pressure) - Highlight salespeople with >2σ deviation in profit margins (potential discounting rule violations) **Trend Forecasting:** - 90-day forward forecast using exponential smoothing (Prophet/SARIMA) for each region - Confidence intervals to flag high-variance territories needing intervention **Hidden Opportunities:** - Recommend product mix shifts (e.g., "East region has 3× higher margin on Category_B—reallocate sales effort") - Identify seasonal dips 60 days early for preemptive campaigns --- ## 6. Suggested Layout (Grid Placement) ``` [KPI Cards Row: Revenue | Margin | MoM Growth | Avg/Salesperson | Units:Revenue Ratio] [LEFT] Regional Revenue Trend (Column Chart) | [RIGHT] Region Margin Heatmap [FULL WIDTH] Revenue vs. Units Scatter (Salesperson detail) [LEFT] Revenue by Category & Region (Stacked Bar) | [RIGHT] 90-Day Forecast (Line + Confidence Band) [FULL WIDTH] Detailed Table (Date, Region, Salesperson, Units, Revenue, Cost, Margin%) ``` --- ## 7. Implementation Instructions **Power BI:** 1. Load Excel via Power Query; auto-detect data types 2. Create calculated columns: `Profit_Margin = (Revenue - Cost) / Revenue` 3. Build measures using DAX formulas above; pin KPI cards to report header 4. Add slicers (Date, Region); connect to all visuals 5. Use Analytics pane → Forecast for 90-day trendline (set confidence to 95%) 6. Conditional formatting on heatmap (red/yellow/green by margin tiers) **Tableau:** 1. Connect to Excel; create data extract for 15K rows 2. Drag Date to Columns (continuous month), Revenue to Rows, Region to Color 3. Build scatter: Units (X), Revenue (Y), Salesperson (detail), Profit Margin (size/color) 4. Add trend exponential model (Analytics panel) 5. Create dashboard with floating filters (Region, Date range) 6. Use Tableau's Explain Data feature for automated outlier discovery **Excel (Power Query + PivotChart):** 1. Load data via Power Query; add custom column for Profit_Margin 2. Create PivotTable: Rows = Region/Month, Values = SUM(Revenue), Profit_Margin avg 3. Insert PivotChart (Clustered Column); add Timeline slicer for Date 4. Use Data Analysis Toolpak for linear regression forecast (separate sheet) 5. Manually highlight anomalies using conditional formatting; link KPI formulas to cells above charts **Recommendation:** Power BI for scalability and AI insights; Excel for teams without licenses.
# 1) Dashboard Title and Purpose
## **Dashboard Title**
**Executive Sales Performance & Forecast Dashboard (2022–2024)**
## **Purpose**
Track monthly sales performance across **Region**, **Product_Category**, and **Salesperson**, identify underperforming areas using **Revenue**, **Cost**, and **Units_Sold**, and forecast the next quarter from the historical **Date** trend.
---
# 2) Recommended KPI Cards with Formulas
Use these as top-row KPI cards.
1. **Total Revenue**
**DAX:** `Total Revenue = SUM('Sales'[Revenue])`
**Excel:** `=SUM(Table1[Revenue])`
2. **Total Cost**
**DAX:** `Total Cost = SUM('Sales'[Cost])`
**Excel:** `=SUM(Table1[Cost])`
3. **Gross Profit**
**DAX:** `Gross Profit = [Total Revenue] - [Total Cost]`
**Excel:** `=SUM(Table1[Revenue])-SUM(Table1[Cost])`
4. **Profit Margin %**
**DAX:** `Profit Margin % = DIVIDE([Gross Profit],[Total Revenue],0)`
**Excel:** `=(SUM(Table1[Revenue])-SUM(Table1[Cost]))/SUM(Table1[Revenue])`
5. **Units Sold**
**DAX:** `Units Sold = SUM('Sales'[Units_Sold])`
**Excel:** `=SUM(Table1[Units_Sold])`
6. **Average Selling Price**
**DAX:** `ASP = DIVIDE([Total Revenue],[Units Sold],0)`
**Excel:** `=SUM(Table1[Revenue])/SUM(Table1[Units_Sold])`
7. **YoY Revenue Growth %**
**DAX:**
`Revenue PY = CALCULATE([Total Revenue], SAMEPERIODLASTYEAR('Calendar'[Date]))`
`YoY Revenue Growth % = DIVIDE([Total Revenue]-[Revenue PY],[Revenue PY],0)`
**Why:** Quickly shows whether growth is accelerating or stalling.
---
# 3) Chart Recommendations
1. **Monthly Revenue & Profit Trend**
**Type:** Combo chart (column + line)
**X-axis:** `Date` (Month-Year)
**Y-axis:** `Revenue`, `Gross Profit`
**Why:** Best for seeing seasonality and whether profit tracks revenue or is being eroded by cost.
2. **Region Performance Ranking**
**Type:** Horizontal bar chart
**X-axis:** `Revenue` or `Gross Profit`
**Y-axis:** `Region`
**Why:** Makes underperforming regions immediately obvious for executive comparison.
3. **Product Category Profitability**
**Type:** Clustered bar chart
**X-axis:** `Product_Category`
**Y-axis:** `Revenue`, `Cost`, `Gross Profit`
**Why:** Shows whether high-revenue categories are actually profitable.
4. **Region x Product Heatmap**
**Type:** Matrix/heatmap
**Rows:** `Region`
**Columns:** `Product_Category`
**Values:** `Profit Margin %` or `Gross Profit`
**Why:** Reveals weak combinations that are hard to spot in standard tables.
5. **Salesperson Performance Scatter**
**Type:** Scatter plot
**X-axis:** `Units_Sold`
**Y-axis:** `Revenue`
**Details:** `Salesperson`, bubble size = `Gross Profit`
**Why:** Identifies salespeople who sell volume but not profit.
6. **Forecast Chart**
**Type:** Line chart with forecast
**X-axis:** `Date`
**Y-axis:** `Revenue`
**Why:** Gives executives a forward-looking view for next-quarter planning.
---
# 4) Filters / Slicers to Include
- **Date** (Year, Quarter, Month)
- **Region**
- **Product_Category**
- **Salesperson**
Optional:
- **Top N Salespeople**
- **Profitability band** using calculated margin groups
These slicers allow executives to isolate drivers of poor performance quickly.
---
# 5) AI-Generated Insights Section
Include a narrative panel with these surfaced items:
- **Anomalies:** months where `Revenue`, `Units_Sold`, or `Profit Margin %` deviates sharply from trend by region/category.
- **Underperforming Regions:** regions with declining **YoY Revenue Growth %** and below-average **Profit Margin %**.
- **Hidden Risk:** categories with growing `Units_Sold` but shrinking `Gross Profit`.
- **Salesperson Outliers:** high `Revenue` but low margin contributors.
- **Forecast:** next-quarter projected `Revenue`, confidence range, and likely strongest/weakest `Region`.
Use Power BI Smart Narrative / Tableau Explain Data / Excel forecast sheet to automate these.
---
# 6) Suggested Layout (Grid Placement)
**Top Row (Full Width):** Title + 6–7 KPI cards
**Left Panel:** Slicers
**Center Top:** Monthly Revenue & Profit Trend
**Right Top:** Forecast chart
**Center Middle:** Region Performance Ranking
**Right Middle:** Product Category Profitability
**Bottom Left:** Region x Product Heatmap
**Bottom Right:** Salesperson Scatter + AI Insights text box
This layout prioritizes executive summary first, then diagnosis, then forecasting.
---
# 7) Step-by-Step Implementation Instructions
## Power BI
1. Import Excel; use Power Query to set data types for `Date`, numeric fields.
2. Create a **Calendar** table: `Calendar = CALENDAR(MIN('Sales'[Date]), MAX('Sales'[Date]))` and relate on `Date`.
3. Build DAX measures above.
4. Add KPI cards, charts, and slicers.
5. Use Analytics pane on line chart for **forecast next 3 months**.
6. Add **Smart Narrative** summarizing trend, underperforming regions, and forecast.
7. Publish and enable scheduled refresh.
## Tableau
1. Connect to Excel and confirm `Date` is a date field.
2. Create calculated fields: `Gross Profit = SUM([Revenue])-SUM([Cost])`, `Profit Margin = [Gross Profit]/SUM([Revenue])`.
3. Build worksheets for each recommended chart.
4. Add filters for `Region`, `Product_Category`, `Salesperson`, and `Date`.
5. Use **Analytics > Forecast** on monthly revenue trend for next quarter.
6. Use **Explain Data** on anomalies and outliers.
7. Assemble dashboard with tiled layout.
## Excel (Power Query + PivotCharts)
1. Load data into Power Query; clean types and load to Excel Data Model.
2. Add calculated columns/measures via Power Pivot.
3. Create PivotTables for KPIs and PivotCharts for trend, bar, and heatmap-style matrix.
4. Add slicers for `Region`, `Product_Category`, `Salesperson`, and Timeline for `Date`.
5. Use **Forecast Sheet** on monthly `Revenue` totals for next quarter.
6. Add conditional formatting to heatmap and KPI variance indicators.
7. Arrange all visuals on one dashboard worksheet.
Here is a complete dashboard specification based on your Excel data. ### 1. Dashboard Title and Purpose * **Title:** Executive Sales Performance & Forecast Dashboard * **Purpose:** To provide a high-level overview of sales performance, enable interactive analysis of regional and product profitability, and deliver an AI-powered forecast for the next quarter to support strategic decision-making. ### 2. Recommended KPI Cards These cards
### 1. Dashboard Title and Purpose **Sales Performance Dashboard: 2022-2024 Trends, Regional Analysis & Q4 Forecast** Purpose: Enable executives to monitor KPIs, detect underperforming regions via Revenue/Cost trends, and forecast Q4 Revenue using AI-driven time series on Date/Revenue data. ### 2. Recommended KPI Cards with Formulas - **Total Revenue**: `SUM(Revenue)` – current YTD total. - **Total Profit**: `SUM(Revenue) - SUM(Cost)` – highlights margin efficiency. - **Avg Profit Margin**: `DIVIDE([Total Profit], [Total Revenue], 0)` – spots cost inefficiencies. - **YoY Growth**: `DIVIDE(SUMX(FILTER(Table, YEAR(Date)=YEAR(TODAY())), Revenue) - CALCULATE(SUM(Revenue), SAMEPERIODLASTYEAR(Date)), CALCULATE(SUM(Revenue), SAMEPERIODLASTYEAR(Date)), 0)` – reveals growth hard to compute manually. - **Forecast Q4 Revenue**: AI time-series (e.g., Power BI forecast) on Revenue by Date. ### 3. Chart Recommendations - **Line Chart**: X=Date (monthly), Y=Revenue (grouped by Region) – reveals seasonal trends and lagging regions like West (hard to spot in 15k rows). - **Clustered Bar**: X=Region, Y=SUM(Revenue)/SUM(Cost) – compares profitability ratios across North/South/East/West to flag underperformers instantly. - **Heatmap**: X=Product_Category, Y=Region, Color=SUM(Units_Sold) – uncovers hidden category-region mismatches (e.g., low Electronics in South). - **Forecast Line**: X=Date (extend to Q4), Y=Revenue (by Region) – projects next quarter using built-in forecasting, spotting potential shortfalls. - **Scatter**: X=SUM(Cost), Y=SUM(Revenue), Bubble=SUM(Units_Sold) by Salesperson – identifies top/underperformers via correlation outliers. ### 4. Filters/Slicers to Include Date (hierarchy: Year/Quarter/Month), Region (North/South/East/West), Product_Category, Salesperson – dynamic cross-filtering for drill-down. ### 5. AI-Generated Insights Section - **Anomalies**: Flag Q3 2023 Revenue drop >20% in East (using outlier detection on Date/Revenue). - **Trends**: South shows 15% YoY Units_Sold decline; Electronics category correlates with 25% profit growth. - **Forecasts**: Q4 Revenue +8% overall, but West -5% risk (ARIMA on Date/Revenue); recommend reallocate Salesperson to low Region performers. ### 6. Suggested Layout (Grid Placement) 12-column grid: Row1 (KPIs: 3 cols each); Row2 (Line + Bar: 6 cols each); Row3 (Heatmap left 4 cols, Scatter right 8); Row4 (Forecast full-width); Bottom: Slicers + Insights textbox. ### 7. Step-by-Step Implementation Instructions **Power BI**: Import Excel → Model Date hierarchy → Add DAX KPIs → Drag visuals (Line: Date axis, Revenue values, Region legend) → Add slicers → Enable auto-forecast on line → Publish. **Tableau**: Connect Excel → Create calcs (e.g., Profit=[Revenue]-[Cost]) → Line shelf: Date/Region → Dual-axis forecast → Layout dashboard containers → Add quick filters. **Excel**: Power Query: Load data, add Date hierarchy → PivotTables for KPIs/charts → PivotCharts (insert Line on Date/Revenue pivot) → Slicers via Insert→Slicer → Timeline for Date; manual forecast via FORECAST.ETS(extend Date, Revenue). (Word count: 498)