Bi dashboard spec

From FerroxLabs/murage · View interactive version

Bi dashboard spec is an AI agent skill from the GitHub repository FerroxLabs/murage. Produces a BI dashboard specification for a named business function including dashboard purpose, audience, KPIs displayed, panel layout, refresh cadence, access permissions, and alert thresholds. Outputs a complete spec ready for implementation in any BI tool. Use when the user asks to design a dash

How to use this skill

Skill file

BI Dashboard Specification

When to Use

Use this skill when:

Do NOT use when:


Process

Step 1: Establish Dashboard Context and Constraints

Before designing any panel, gather the context that governs every design decision. The answers to these questions constrain chart types, filter depth, refresh cadence, and layout complexity.

Step 2: Define the Dashboard's Questions in Priority Order

Every panel on a dashboard answers a business question. If you cannot state the question, the panel does not belong. This step prevents dashboard sprawl and ensures layout reflects business logic.

Step 3: Design Each Panel Specification

Each panel is a discrete specification with 8 attributes. Do not leave any attribute undefined.

Step 4: Design the Layout Grid

Dashboard layout is not aesthetic -- it is information architecture. The grid position of each panel determines what the viewer looks at first and how they interpret relationships between panels.

Step 5: Define Interactivity and Navigation

A static dashboard is a report. A BI dashboard earns its value through interactivity. Specify every interactive behavior explicitly.

Step 6: Set Operational and Governance Parameters

A dashboard without defined operational parameters creates reliability, security, and trust problems after launch.

Step 7: Define Mobile Layout and Accessibility

Most dashboards are first checked on a phone during a commute or before a meeting. A desktop-only design that ignores mobile produces a bad experience for a high-value use case.


Output Format

Produce the following structured document. Use the exact section headers and table structure shown. Replace all bracketed fields with real content.

## Dashboard Specification: [Dashboard Name]
Version: 1.0 | Status: Draft | Last Updated: [Date]
Owner: [Name/Role] | Requesting Team: [Team]

---

### 1. Overview

| Field | Value |
|-------|-------|
| Business Function | [Sales / Marketing / Product / Operations / Finance / Executive] |
| Primary Audience | [Role and level of primary viewer] |
| Secondary Audience | [Role and level of secondary viewers] |
| Decisions Supported | [Explicit list of decisions this dashboard informs] |
| Viewing Frequency | [How often primary audience checks this dashboard] |
| Viewing Context | [Desktop in office / mobile before meeting / wall-mounted display] |
| Target BI Tool | [Tool name, or "Tool not yet selected"] |
| Data Readiness | [All sources available / Partial -- [source] not yet modeled / None] |

---

### 2. Dashboard Questions (Strategic to Diagnostic)

| Priority | Question | Type | Panel(s) That Answer It |
|----------|----------|------|------------------------|
| 1 | [Highest-level strategic question] | Strategic | Panel 1, 2 |
| 2 | [Supporting question] | Supporting | Panel 5 |
| 3 | [Supporting question] | Supporting | Panel 6 |
| 4 | [Diagnostic question] | Diagnostic | Panel 7 |
| 5 | [Diagnostic question] | Diagnostic | Panel 8 |

---

### 3. Panel Specifications

For each panel:

**Panel [N]: [Panel Title]**
- **Question answered:** [The specific question this panel addresses]
- **Chart type:** [Scorecard / Line / Bar / Horizontal bar / Stacked bar / Table / Map / Scatter / Bullet]
- **Primary dimension:** [Field name, grain] or None (for scorecards)
- **Secondary dimension:** [Field name] or None
- **Measure(s):** [Aggregation function + field name, e.g., SUM(closed_won_usd)]
- **Comparison / reference:** [Target line value/field / Prior period delta / YoY / SLA threshold]
- **Data source:** [Schema.table_name or semantic layer object name]
- **Filter response:** Responds to: [list of global filters]. Drives cross-filter on: [list of panels] or None
- **Drill-down behavior:** [None / Hierarchical within chart / Navigate to [dashboard name] / Expand to record table]
- **Tooltip content:** [Fields to display on hover]
- **Time grain:** [Daily / Weekly / Monthly / Dynamic]
- **Null handling:** [Connect nulls / Show as zero / Show gap / Display "No data" message]
- **Grid position:** Row [N], Col [start]-[end]
- **Mobile:** [Included / Excluded / Simplified -- top N only]
- **Conditional formatting:** [Rule: if delta < 0%, color delta red; if delta >= 0%, color delta green] or None

---

### 4. Panel Summary Table

| # | Panel Title | Chart Type | Grid Position | Data Source | Mobile |
|---|------------|------------|---------------|-------------|--------|
| 1 | [Title] | Scorecard | Row 1, Col 1-3 | [Source] | Included |
| 2 | [Title] | Scorecard | Row 1, Col 4-6 | [Source] | Included |
| 3 | [Title] | Scorecard | Row 1, Col 7-9 | [Source] | Included |
| 4 | [Title] | Scorecard | Row 1, Col 10-12 | [Source] | Included |
| 5 | [Title] | Line chart | Row 2, Col 1-8 | [Source] | Included |
| 6 | [Title] | Horizontal bar | Row 2, Col 9-12 | [Source] | Simplified |
| 7 | [Title] | Horizontal bar | Row 3, Col 1-6 | [Source] | Included |
| 8 | [Title] | Table | Row 3, Col 7-12 | [Source] | Excluded |

---

### 5. Layout Grid (ASCII)

+--------[P1: Scorecard]-------+--------[P2: Scorecard]-------+--------[P3: Scorecard]-------+--------[P4: Scorecard]-------+

| Col 1-3 | Col 4-6 | Col 7-9 | Col 10-12 |

+------------------------------+------------------------------+------------------------------+------------------------------+

| [P5: Primary Trend Chart -- Line] | [P6: Ranking Bar Chart] |

| Col 1-8 | Col 9-12 |

+--------------------------------------------------------------------------+--------------------------------------+

| [P7: Secondary Chart] | [P8: Detail Table or Diagnostic Chart] |

| Col 1-6 | Col 7-12 |

+----------------------------------------+--------------------------------------------------------------------+


---

### 6. Interactivity Specification

**Global Filters**

| Filter | Type | Default Value | Allowed Values | Required? |
|--------|------|---------------|----------------|-----------|
| Date Range | Date picker | Current quarter | Any date range | Yes |
| [Filter 2] | [Dropdown / Multi-select] | [Default] | [Values or "All values in field"] | [Yes/No] |
| [Filter 3] | [Dropdown / Multi-select] | [Default] | [Values or "All values in field"] | [Yes/No] |

**Cross-Filter Map**

| Source Panel (Click) | Target Panels Filtered | Field Applied |
|----------------------|------------------------|---------------|
| Panel [N] | Panel [N], Panel [N] | [Field name] |

**Drill-Down Paths**

| Panel | Click Target | Behavior | Destination |
|-------|-------------|----------|-------------|
| Panel [N] | [Data point / row / bar] | [Navigate / expand / hierarchical drill] | [Dashboard name or "expand to table"] |

---

### 7. Operational Parameters

| Parameter | Value |
|-----------|-------|
| Refresh Cadence | [Schedule: e.g., Daily at 6:00 AM UTC, weekdays only] |
| Refresh Type | [Full extract / Incremental / Live query] |
| Data Latency | [Expected lag from source event to dashboard visibility] |
| Last-Updated Timestamp | [Display location on dashboard: footer / near date filter] |
| Owner | [Name and role responsible for dashboard maintenance] |

**Access Permissions**

| Role | Permission Level | Row-Level Security Rule |
|------|-----------------|------------------------|
| [Role 1] | View | [Filter condition, e.g., Region = user attribute "region"] |
| [Role 2] | View + Filter | [All rows] |
| [Role 3] | Edit | [All rows] |
| [Role 4 -- Admin] | Admin | [All rows] |

**Scheduled Deliveries**

| Delivery | Schedule | Recipients | Format | Filters Applied |
|----------|----------|------------|--------|-----------------|
| [Weekly summary] | [Monday 7:00 AM] | [email@company.com] | PDF | [Current quarter, All regions] |

**Alert Thresholds**

| Metric | Warning Condition | Crisis Condition | Channel | Recipients |
|--------|-------------------|------------------|---------|------------|
| [Metric 1] | [e.g., < 80% of target] | [e.g., < 65% of target] | Slack / Email | [#channel or email] |
| [Metric 2] | [e.g., > 120-minute SLA breach rate 5%] | [e.g., > 10%] | PagerDuty | [On-call rotation] |

---

### 8. Mobile Layout

| Element | Desktop Position | Mobile Position | Mobile Treatment |
|---------|-----------------|-----------------|------------------|
| Scorecards (P1-P4) | Row 1, 4 cols each | Top, 2x2 grid | Full inclusion |
| [Primary chart] | Row 2, 8 cols | Below scorecards, full width | Simplified -- remove secondary axis |
| [Ranking chart] | Row 2, 4 cols | Below primary chart, full width | Top 5 only |
| [Detail table] | Row 3, 12 cols | Hidden | Desktop only |

---

### 9. Implementation Notes and Pre-Requisites

- **Data dependencies:** [List any tables, views, or models that must exist before build begins]
- **Semantic layer requirements:** [Any calculated fields, metrics, or joins that must be defined in the BI tool's semantic layer]
- **Performance considerations:** [Any panels that may be slow to render and require aggregated pre-computation or materialized views]
- **Known limitations:** [Any data gaps, metric approximations, or known issues in the source data]
- **Future enhancements (post-launch):** [Features deferred from v1.0 and their rationale]

Rules

  1. Never exceed 10 panels on a single dashboard page. Beyond 10 panels, cognitive load exceeds the viewer's ability to form a coherent mental model. Research on working memory capacity (7 ± 2 chunks) supports this limit. If more coverage is needed, create a linked detail dashboard or additional tab, and add a navigation button in the spec.
  1. Every panel must be traceable to a named decision. If a panel cannot be linked to one of the decisions in the Overview section, it should not exist on the dashboard. "Nice to have" and "interesting data" panels dilute the dashboard's usefulness and create maintenance burden.
  1. Scorecards must always display a comparison value and delta, never just the current value. A revenue figure of $4.2M without context is meaningless. The comparison can be vs. target, vs. prior period, vs. prior year, or vs. SLA -- but there must be one. Use delta sign (+/-), delta percentage, and color-coded indicator simultaneously for maximum clarity.
  1. Refresh cadence must match the decision cadence, not the data availability cadence. Just because data is available in real-time does not mean the dashboard should refresh in real-time. Real-time refresh on a weekly decision dashboard creates noise and false urgency. Match refresh to the tempo of action the audience can realistically take.
  1. Row-level security rules must be specified before implementation begins, not retrofitted. RLS rules affect the data model, not just the dashboard configuration. A sales rep who accidentally sees another rep's pipeline because RLS was not implemented from the start is a trust-destroying incident. Specify RLS at spec time even if the implementation detail is "consult the data engineering team."
  1. Do not use pie charts or donut charts in business dashboards. Humans cannot accurately compare arc lengths or areas across pie slices when the difference is less than 5-10%. Use a horizontal bar chart (sorted descending) instead -- it provides identical information with superior readability and supports more categories. The only exception is a 2-category proportion (e.g., "Won vs. Lost") where a single-bar progress indicator or gauge is clearer.
  1. Alert thresholds must be set at warning level, not crisis level. If the crisis threshold for a metric is X, the alert should fire at 1.2-1.5X (for "do not exceed" metrics) or 0.7-0.8X (for "must achieve" metrics). An alert that fires only when crisis has been reached gives no time to course-correct. Document the rationale for each threshold value -- "fires at 80% of target because that gives the team 2 weeks to recover in a 12-week quarter."
  1. Specify null and zero handling for every panel. In most BI tools, null and zero are treated differently by default. A line chart with null values creates a gap in the line, which viewers often misread as a data outage. A scorecard with a null denominator produces a divide-by-zero error. Specify the expected behavior explicitly for every panel: connect nulls, show as zero, display "N/A," or show a "no data" message.
  1. The last-updated timestamp must be visible on every dashboard. Data without provenance cannot be trusted. Place a timestamp in the dashboard footer or immediately adjacent to the date range filter showing when the data was last refreshed. In Tableau, this is a "Last Refreshed" calculated field. In Power BI, use the "Last refresh date" measure from the dataset properties. In Looker, display the query timestamp with a text tile.
  1. A dashboard specification without named data sources is incomplete. "Sales data" or "CRM" is not an acceptable data source definition. Every panel must reference a specific table, view, or semantic layer object (e.g., prod.fct_opportunities, Salesforce standard object: Opportunity). If the data source is not yet determined, write "TBD -- requires data modeling" and flag the panel as blocked in the Implementation Notes section. Do not proceed to implementation without resolving TBD data sources.

Edge Cases

Audience Conflict: Dashboard Serves Multiple Levels Simultaneously

When a dashboard is used by both executives (need 1-glance, no tables, max 6 panels) and managers or analysts (need detail, drill-down, segment cuts), a single dashboard design fails both audiences. Handle this by designing separate dashboard pages or a primary/detail architecture. The primary dashboard follows executive design constraints: 4-6 scorecards, 1 trend line, 1 ranking bar, no tables, no raw data. The detail dashboard is linked from the primary via click-through drill-down and contains the segment breakdowns, tables, and diagnostic charts the manager needs. Specify the link explicitly: "Clicking any scorecard in row 1 navigates to Sales Detail Dashboard with the selected metric pre-filtered." Do not add a "collapsed" row of advanced panels at the bottom of the executive dashboard -- executives will not scroll, and the complexity undermines the clean design.

Real-Time Operational Dashboard (Monitoring / Incident Response)

When the use case is live operations monitoring (call center queue depth, fulfillment pipeline throughput, system uptime, same-day revenue pacing), the dashboard design rules change significantly. Replace trend line charts with status indicators (green/yellow/red traffic lights) keyed to SLA thresholds. Add an incident log panel showing the 10 most recent threshold breaches with timestamp, metric, and value. Set refresh to every 5-15 minutes or use a live-query connection where the BI tool supports it (Looker live connections, Tableau Live, Power BI DirectQuery). Design for a wall-mounted or large-format display with minimum 24pt font for all labels, high contrast (white on dark background), and no filters -- the display is ambient, not interactive. Specify that no login is required for the display screen (use an embedded public view or a service account).

Dashboard Feeding Multiple Downstream Tools

Some dashboards are the source of record for other systems -- the numbers displayed become inputs to financial forecasting models, commission calculations, or board reports. For these dashboards, add a data certification section to the spec. Specify: which panels are "certified" as the authoritative source for downstream use, who certifies them (data owner role), the certification refresh frequency (monthly sign-off by Finance, for example), and the version control approach (dashboard screenshots archived with date in a shared drive or wiki). In Tableau and Power BI, certified datasets carry a visual badge -- include this in the spec. In Looker, use the "Verified" content label.

Migrating from a Spreadsheet or Legacy Report

When the user is replacing an existing manual report or Excel-based dashboard, the spec must account for the transition period. Document the legacy report's metrics and layout alongside the new spec so stakeholders can verify continuity. Flag any metrics where the definition or calculation will change in the new dashboard (e.g., "Legacy report uses recognized revenue; new dashboard uses booked revenue -- flag this discrepancy clearly to stakeholders before launch"). Include a parallel-run period in the implementation notes: "Run both the legacy report and new dashboard simultaneously for 4 weeks; compare outputs weekly to validate alignment before deprecating the legacy report." Note which stakeholders are signed off on the definitional changes.

Self-Service Analytics Dashboard (Analyst Audience)

When the primary audience is analysts or data-savvy users who will build their own views from the dashboard, the spec changes substantially. Include a dimension and measure picker (supported natively in Looker, achievable via parameters in Tableau, available as "Explore" mode in Sigma and ThoughtSpot). Add full-width sortable and searchable data tables as primary panels, not supplemental ones. Include export functionality (CSV, Excel) specified per panel. Reduce scorecard row to 2-3 panels maximum -- analysts distrust pre-summarized figures and prefer to derive their own. Include a "last SQL run" or "data definition" tooltip on each panel so analysts can validate the underlying logic. Specify that global filters should be multi-select with "select all" and "deselect all" controls.

No BI Tool Selected Yet

When the user does not yet have a BI tool, produce the spec as a tool-agnostic document using the standard output format above. At the end of the spec, add a "BI Tool Recommendation" section with a comparison matrix: evaluate Tableau (strong for complex visualizations, row-level security, and enterprise governance; high cost), Power BI (best Microsoft ecosystem integration, strong DAX language, mid-cost), Looker (strongest semantic layer and LookML governance model; requires data engineering investment), Metabase (fastest time-to-value, open source option available, limited enterprise governance), and Sigma (best for analyst-first self-service on Snowflake; newer tool). Map the requirements captured in the spec to the tool comparison criteria. Also produce a simplified version of the spec as a Google Sheets layout with manual data entry, conditional formatting rules (highlight cells below target in red), and sparkline formulas for trend indicators -- treat this as the "Phase 0" interim solution while the BI tool decision is made.

Dashboard for a Business Function Without Standard KPI Patterns

When the dashboard is for a non-standard function (legal operations, people operations, procurement, or a new business model), the standard KPI scaffolding does not apply. Do not invent KPIs -- instead, run the question-based design process from Step 2 with extra rigor. Ask the user: "What would tell you immediately that something is wrong this week?" and "What would tell you immediately that something is going well?" These two questions reliably surface the 2-3 most important leading indicators for any business function. From those, build the scorecard row. Then ask: "What context do you need to understand why the answer is what it is?" to surface the supporting chart panels. Note any KPIs where the formula, data source, or target is undefined and flag them as "pending KPI definition -- use kpi-definition skill before proceeding."

Multi-Department or Company-Wide Dashboard (Tab/Page Architecture)

When the dashboard spans multiple departments (e.g., a company-wide performance dashboard seen by all VPs), use a tabbed or paged architecture. Design one landing page (the "executive summary tab") that shows the 4-6 most critical cross-department KPIs with a health status indicator per department. Each subsequent tab is a department-specific dashboard designed to the standards in this spec, with department-specific KPIs and drill-downs. Global filters (date range, company region, fiscal year) propagate across all tabs. Department-specific filters (product line for product tab, channel for marketing tab) apply only to their respective tab. Specify the tab order based on revenue or strategic priority of each department, not alphabetically.


Example

Input: "We need a dashboard spec for our e-commerce marketing team. They use Looker. The Marketing Director checks it every morning and the channel managers check it daily to optimize spend. We track paid search, paid social, email, and organic. Key metrics are ROAS, CAC, revenue, and conversion rate."

Output:


Dashboard Specification: E-Commerce Marketing Performance Dashboard

Version: 1.0 | Status: Draft | Last Updated: [Current Date]

Owner: Marketing Director | Requesting Team: E-Commerce Marketing


1. Overview

| Field | Value |

|-------|-------|

| Business Function | Marketing -- E-Commerce |

| Primary Audience | Marketing Director (daily, morning check-in, strategic decision-making) |

| Secondary Audience | Channel Managers -- Paid Search, Paid Social, Email, SEO (daily, spend optimization) |

| Decisions Supported | 1. Reallocate budget across channels based on ROAS and CAC performance. 2. Escalate underperforming channels for tactical review. 3. Determine whether marketing is on track to hit monthly revenue contribution target. 4. Identify which audience segments or creatives are driving conversion. |

| Viewing Frequency | Director: every morning (7-8 AM). Channel Managers: multiple times daily during active campaigns. |

| Viewing Context | Desktop browser primary. Mobile for Director's morning check before standup. |

| Target BI Tool | Looker (Google BigQuery backend) |

| Data Readiness | Paid search (Google Ads via Fivetran to BigQuery -- available). Paid social (Meta Ads via Fivetran -- available). Email (Klaviyo via Fivetran -- available). Organic (GA4 events in BigQuery -- available). Revenue attribution model (last-click -- available in prod.fct_attributed_orders). |


2. Dashboard Questions (Strategic to Diagnostic)

| Priority | Question | Type | Panel(s) That Answer It |

|----------|----------|------|------------------------|

| 1 | Is total marketing-attributed revenue on pace to hit the monthly target? | Strategic | P1 (scorecard), P5 (trend line) |

| 2 | What is our blended ROAS and blended CAC across all paid channels today vs. target? | Strategic | P2, P3 (scorecards) |

| 3 | Which channels are delivering the best and worst ROAS this week? | Supporting | P6 (horizontal bar -- ROAS by channel) |

| 4 | Where is conversion rate breaking down -- channel, device, or audience? | Supporting | P7 (grouped bar -- CVR by channel and device) |

| 5 | Which campaigns or ad groups have the highest spend but lowest ROAS right now? | Diagnostic | P8 (table -- campaign-level spend, ROAS, delta vs. 7-day avg) |

| 6 | How is email performing vs. paid in terms of revenue contribution and CVR? | Diagnostic | P6 (channel ROAS bar includes email), P8 (table filtered to email) |


3. Panel Specifications

Panel 1: Marketing Revenue vs. Monthly Target

Panel 2: Blended ROAS (Paid Channels)

Panel 3: Blended CAC (Paid Channels)

Panel 4: Blended Conversion Rate

Panel 5: Daily Marketing Revenue vs. Pace

Panel 6: ROAS by Channel (This Month vs. Target)

Panel 7: Conversion Rate by Channel and Device

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.