MetricFlow is an open-source semantic layer engine designed to help organizations define, manage, and query business metrics in a consistent, governed way. It works alongside a data stack—typically built with dbt—and allows you to express metrics as YAML‐based definitions tied to semantic models and dimension tables, rather than embedding logic ad-hoc across many dashboards or scripts. When a user or tool requests a metric (e.g., “monthly revenue by region”), MetricFlow generates optimized, warehouse-specific SQL to compute that metric, handling joins, filters, time grains, offsets, and other complexities under the hood. Because metric definitions live centrally, you avoid duplication across teams and tools, reduce risk of inconsistent numbers, and make it easier to audit and evolve the logic over time. The project emphasizes explainability, performance and portability: you define metrics once and then they can be consumed in BI tools, notebooks, or even AI/agent-driven workflows.

Features

  • Centralized definition of metrics and semantic models in YAML for reuse and consistency
  • On-the-fly generation of optimized SQL for different warehouses when a metric is requested
  • Support for advanced metric types including ratios, expressions, cumulative, conversions and offset time measures
  • Semantic graph modeling: linking semantic models, entities, dimensions and measures so joins and filters are handled automatically
  • CLI and integration commands (list metrics, list dimensions, validate configurations, query metrics) for development and CI/CD workflows
  • Open-source, vendor-neutral design aimed at portability and governance across BI, analytics, and AI tools

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow MetricFlow

MetricFlow Web Site

Other Useful Business Software
Keep company data safe with Chrome Enterprise Icon
Keep company data safe with Chrome Enterprise

Protect your business with AI policies and data loss prevention in the browser

Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
Download Chrome
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MetricFlow!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software

Registered

2025-10-28