Skip to main content
All worked examplesSenior Data Analyst / BI Engineer
Customer Obsession (Amazon)

Speeding Up a Slow Executive Dashboard from 450s to 3s: Rebuilding with Snowflake Aggregations

Question: “Tell me about a time you optimized a mission-critical report or dashboard that was failing to meet business SLAs.”
Illustrative composite pattern — tailor it with your own project history.Adapt this question in Story Studio

1. Situation & Stakes

The executive leadership team (CEO, CFO, COO) relied on a daily Commercial Performance Dashboard to monitor regional revenue and gross margin across 45M transactions. Over 6 months, the dashboard degraded to 450+ seconds load time, frequently timing out during Monday morning executive meetings.

Scale & Timeline: Executive escalation with a 2-week deadline before the quarterly business review; querying 45 million live transaction records across 14 operational dimensions in Snowflake.
Business Risk: The C-suite lost trust in the BI portal, reverting to unverified offline spreadsheets, while executive compute costs surged by $14,000/month from repeated timed-out dashboard queries.

2. Task & Ownership Mandate

I owned the performance overhaul of the executive dashboard, committing to achieving sub-5 second render times without removing any interactive filtering capabilities or reducing historical depth.

Success Criteria: Dashboard load time under 5 seconds (from 450s) and 100% adoption restored across all 18 executive stakeholders.

3. Technical Action & Trade-Offs

  • Profiled Snowflake Query Profiler: discovered that Tableau was firing 14 separate live SQL queries on dashboard open, each performing full table scans and nested joins on a 45M-row unpartitioned fact table.
  • Refactored the data model into a dimensional Star Schema: created an aggregated daily summary mart in dbt, pre-calculating revenue, gross margin, and discount rates by region, product, and channel.
  • Applied Snowflake Clustering Keys on (transaction_date, region_id), reducing partition pruning scans from 12,000 micro-partitions down to fewer than 180.
  • Redesigned the Tableau workbook architecture: replaced 8 nested LOD (Level of Detail) calculations with pre-computed database fields and enabled Tableau Server metadata caching.
Key Architectural Trade-Offs
  • Separated executive BI workloads onto a dedicated Small virtual warehouse with a 60-second auto-suspend timeout, isolating it from background data science query contention.
  • Built automated dbt test assertions verifying that aggregated mart totals matched raw transaction ledger sums to the exact cent.

4. Quantified Results

  • Slashed median dashboard load time from 450 seconds down to 3.2 seconds (99.3% speed improvement).
  • Reduced monthly Snowflake warehouse query spend for the executive dashboard by $14,000/month ($168,000/year).
  • Executive weekly dashboard engagement increased from 22% to 100% across all C-suite officers and regional directors.

Business Impact: Enabled the CEO and CFO to make rapid pricing adjustments during peak retail promotional periods, contributing to a $1.8M gross margin expansion in Q4.

5. Executive Reflection (Learning Agility)

  • Executive Hindsight: When dashboards load slowly, it is rarely a BI tool visualization flaw. Almost always, it is an architectural flaw where analysts point interactive dashboards directly at raw normalized transactional tables instead of certified dimensional marts.
  • Learning Agility: Mastered the integration of Snowflake micro-partition pruning telemetry with BI server query generation patterns.
  • Systemic Impact: Built the reusable executive dashboard mart template adopted across the entire analytics team, preventing slow dashboards from being shipped to production.

Interviewer Follow-Up Probes (Prepare for These Next)

  • Q1.Why did you choose pre-aggregated dbt marts over Snowflake Materialized Views?
  • Q2.How did you handle late-arriving financial adjustments in your aggregated summary table?
  • Q3.What was your strategy for testing Tableau dashboard performance in staging before executive rollout?
Make It Authentic

Turn your own real project into this format

Never memorize someone else's story. Log your metrics in Karyika and synthesize an authentic, first-person STARR response.

Adapt in Story Studio