databricks-metric-views

Define and manage Unity Catalog metric views using YAML specifications.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/slysik/databricks-claude-coding --skill databricks-metric-views-slysik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-metric-views
Source: https://github.com/slysik/databricks-claude-coding/tree/main/.agents/skills/databricks-metric-views
Command: npx skills add https://github.com/slysik/databricks-claude-coding --skill databricks-metric-views-slysik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the definition and management of standardized business metrics, ensuring consistency and reusability across an organization.

Core Features & Use Cases

  • Define Reusable Metrics: Create governed business metrics in YAML for KPIs, revenue analytics, and more.
  • Standardize Definitions: Ensure consistent metric definitions across teams and tools.
  • Use Case: Define a "Total Revenue" metric once in a metric view, and then use it consistently in dashboards, BI tools, and SQL queries without redefining the aggregation logic.

Quick Start

Create a metric view for orders with dimensions for month and status, and measures for order count and total revenue.

Frequently Asked Questions about databricks-metric-views

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

FAQPage Schema
How do I create standardized business metrics in Databricks for consistent KPI reporting?

Standardized business metrics are created by defining reusable KPIs in YAML specifications to generate Unity Catalog metric views. This ensures consistent definitions and reusable aggregation logic across dashboards, BI tools, and SQL queries.

What is a Unity Catalog metric view and when do I need one?

A Unity Catalog metric view is a governed business metric definition created via YAML that supports complex aggregations, window measures, and declarative joins. You need one to model star and snowflake schemas while ensuring consistent metric analysis across Databricks environments.

Can I define complex aggregations and window measures in YAML for Databricks data modeling?

Yes, you can define complex aggregations and window measures using YAML specifications for Databricks data modeling. The framework supports declarative joins to effectively model star and snowflake schemas within your Unity Catalog environment.

What's the best way to manage reusable business metrics across multiple Databricks teams?

The best way to manage reusable business metrics is by defining governed KPIs in YAML to create Unity Catalog metric views. This standardizes metric definitions once, allowing multiple teams and tools to query them consistently without redefining aggregation logic.

Does building metric views with YAML support star and snowflake schema modeling in Unity Catalog?

Yes, building metric views with YAML supports modeling star and snowflake schemas in Unity Catalog. It uses declarative joins to map complex data structures into unified, governed business metrics for consistent querying.