databricks-aibi-dashboards

Create Databricks AI/BI dashboards with validated Spark SQL datasets and strict widget contracts.

1|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/itsadijmbt/SecureMCP-Servers --skill databricks-aibi-dashboards-itsadijmbt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-aibi-dashboards
Source: https://github.com/itsadijmbt/SecureMCP-Servers/tree/main/TEST_SERVERS/PORTED_TO_SECUREMCP/databrickslab-mcp/ai-dev-kit/databricks-skills/databricks-aibi-dashboards
Command: npx skills add https://github.com/itsadijmbt/SecureMCP-Servers --skill databricks-aibi-dashboards-itsadijmbt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces broken or invalid Databricks AI/BI dashboards by providing a strict, end-to-end workflow for validating datasets, matching widget field contracts, and generating correct dashboard JSON.

Core Features & Use Cases

  • Dataset-to-widget contract enforcement: Ensures query.fields[].name exactly matches widget encodings.fieldName to prevent “no selected fields to visualize” errors.
  • Production-grade dashboard workflow: Guides users through schema discovery, SQL authoring, mandatory query testing, and controlled deployment via manage_dashboard.
  • Widget and filter correctness: Covers required widget versions, correct filter widget types, and layout constraints (12-column grid, no gaps) for reliable rendering.

Quick Start

Use the databricks-aibi-dashboards skill to generate a dashboard JSON for a specific dataset by first testing every dataset query with execute_sql and then deploying with manage_dashboard(action="create_or_update").

Frequently Asked Questions about databricks-aibi-dashboards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix the "no selected fields to visualize" error in Databricks AI/BI dashboards?

The "no selected fields to visualize" error in Databricks AI/BI dashboards occurs when dataset query field names do not exactly match widget encodings fieldName properties. Enforcing strict dataset-to-widget contracts ensures exact name matching between Spark SQL query outputs and widget configurations to resolve this rendering failure.

What is the correct workflow for deploying Databricks AI/BI dashboards safely?

Safely deploying Databricks AI/BI dashboards requires authoring validated Spark SQL datasets, executing mandatory query testing via execute_sql, assembling dashboard JSON with strict widget contracts, and using manage_dashboard with action create_or_update for controlled releases.

Do I need to test every Spark SQL query before adding it to an AI/BI dashboard?

Yes, mandatory execute_sql testing for every Spark SQL query is required before adding it to an AI/BI dashboard. This validation workflow prevents broken visualizations by verifying schema output and ensuring exact fieldName matching between datasets and widget encodings.

What layout constraints apply when building Databricks AI/BI dashboard widgets?

Databricks AI/BI dashboard widgets must adhere to GRID_V1 layout rules, requiring placement within a 12-column grid structure without any gaps. Correct widget versioning and proper filter widget types are also necessary for reliable dashboard rendering.

Can I update existing Databricks AI/BI dashboards or do I need to recreate them?

You can update existing Databricks AI/BI dashboards without recreating them by using the manage_dashboard deployment function with the create_or_update action. This allows seamless updates to KPI counters, tables, charts, and global or page-level filters while maintaining widget validation.

Why does my Databricks AI/BI dashboard break when adding global or page-level filters?

Databricks AI/BI dashboards break when adding filters if the filter widget types are incorrect or if there are mismatched field contracts between the filter and the dataset. Applying correct widget versions and exact fieldName matching ensures filters function properly across the dashboard.