# Build a sales performance dashboard

> Four KPI cards with year-over-year deltas, a regional trend, a profitability treemap and a rep leaderboard, built from one chat prompt.

Use cases · 8 min read · Updated 2026-11-26

Every Monday, leadership asks sales ops the same three things: which region is winning, which product lines make money, and who's carrying the number. This guide builds the dashboard that answers all three on one screen, with filters anyone can use.

![The Sales Performance Overview dashboard: Category and Order Date Range slicers, KPI cards for Total Sales $1.27M, Total Profit $290.7K, Profit Margin 22.8% and Order Count 1.8K with year-over-year changes, sales by region stacked by year, and the monthly sales trend by region](https://app.goldenanalytics.com/api/help/public-image?object=9ad2f730-45f5-4304-9eba-06a93015de17%2F1795719318038-00-present-mode.png)

### The question

Maya runs sales operations for an office and technology retailer. Today her Monday answers come from a spreadsheet that takes half a day to refresh. She wants one dashboard with year-over-year context that regional managers can filter themselves.

If you rebuild the same weekly sales report by hand, this is the guide for you.

### The data

The sample file is `sales-orders.csv`: 14,997 order lines from January 2023 through June 2025.

| Column | What's in it |
| --- | --- |
| Order ID, Order Date | One order can have 1 to 4 lines |
| Region, State, City | East, West, Central, South |
| Segment | Consumer, Corporate, Home Office |
| Category, Sub-Category, Product | 3 categories, 14 sub-categories |
| Sales, Quantity, Discount | Sales are net of discount |
| Profit | Can be negative |
| Sales Rep | 12 reps, 3 per region |

### Build it

1. On Home, click **Start an analysis**.
2. Open **Files** and drop in `sales-orders.csv`. Golden profiles it and opens **Discover**.
3. Open the chat panel and paste this prompt:

```
Build a sales performance dashboard. Show four KPI cards for total sales, total profit, profit margin, and order count, each with a year-over-year comparison. Add a bar chart of sales by region colored by year, a line chart of monthly sales by region, a treemap of sales by sub-category colored by profit margin, and a horizontal bar leaderboard of sales reps. Include a slicer for Region and a date range slicer for Order Date.
```

Golden builds the dashboard in about 30 seconds and opens it under **Analyze**.

### What you'll find

### The KPI row compares like with like

The data ends in June 2025, so each card compares January to June 2025 against January to June 2024. Sales are up 9.8% to $1.27M, but profit is down 2.6% and margin dropped from 25.7% to 22.8%. Growth is coming from somewhere that isn't making money.

![The Category and Order Date Range slicers above four KPI cards: Total Sales $1.27M up 9.8% vs $1.16M, Total Profit $290.7K down 2.6%, Profit Margin 22.8% down 11.2% vs 25.7%, and Order Count 1.8K up 11.4%](https://app.goldenanalytics.com/api/help/public-image?object=9ad2f730-45f5-4304-9eba-06a93015de17%2F1795720916448-02-kpi-cards.png)

### Edit it by talking to it

The first build is a starting point. Here we asked chat to color the treemap by margin and split the regional bars by year. The treemap now shows where margin is thin, and the bars show West catching East.

```
Color the treemap by profit margin instead of profit and rename it Sales by Sub-Category. Then color the Sales by Region bar chart by year of Order Date.
```

![The edit request in chat, Golden's reply, and the updated dashboard: Sales by Region and Order Date now stacked by 2023, 2024 and 2025, next to the monthly sales trend by region with West rising past East in 2025](https://app.goldenanalytics.com/api/help/public-image?object=9ad2f730-45f5-4304-9eba-06a93015de17%2F1795720916636-03-edit-with-chat.png)

The three stories in this data:

- **West overtakes East.** East leads in 2023 and 2024. West grows faster, crosses East in March 2025 and pulls away from April.
- **Furniture loses money in Q1 2025.** A clearance quarter pushed its average discount to 37.5%. Filter the Order Date slicer to Q1 2025 and watch Tables and Bookcases go pale on the treemap.
- **One rep is always on top.** Priya Natarajan leads the leaderboard with $884.8K, far ahead of Daniel Okafor at $617.9K.

### Make it yours

Swap in your own orders data and keep the same prompt. Rename the fields in the prompt to match your columns ("Revenue" instead of "Sales", "Territory" instead of "Region"). Chat reads your column names, so close is usually good enough.

> **Tip:** For year-over-year on a partial year, check that each KPI card compares the same months. A full prior year against a half year reads like a crash.

### Share it

Click **Publish** to give the dashboard a viewer link. Regional managers can use the Region slicer to see their own numbers without editing anything.

### FAQ

**Why does Profit Margin go down while Sales go up?** Because the growth came with heavier discounts, mostly in Furniture. The treemap colored by margin shows where.

**Can I change a chart chat built?** Yes. Ask chat, or select the tile and edit its fields like any other chart.

**Do I need to write calculated fields for margin?** No. Chat creates the fields it needs, like Profit Margin, and adds them to your data panel.

Source: https://goldenanalytics.com/docs/use-case-sales-performance-dashboard
