X marks the metric.

Write it in Tableau, DAX or SQL, ask an agent for it: it's one number. xmetric is the open-source platform that will run your existing Tableau and Power BI workbooks, in an app for people and a CLI for agents.

In development. Open source at launch.
Tableau calculation
Power BI ยท DAX
SQL
Agent CLIcoming
24%
Furniture's share of East sales
drag the crossing

The function table

Every calculation in Tableau and Power BI, with the SQL that returns the same number and the traps that make hand translations wrong. Hover a tile to flip it, click it for the worked example. All 192 functions and patterns.

Level of detail Table calculations Dates Logic and nulls DAX

Got a workbook? Start here.

What's inside a .twbx or .pbix, how to get the data and formulas out, and how to move the logic to SQL or dbt with tools that exist today.

What we're building

One open engine that understands BI workbooks, used four ways.

Open any workbook

Drop a .twbx or .pbix into the app or the browser and use it: filters, tooltips, dashboards.

in the works

Run it from agents

A CLI and MCP server so Claude Code, Codex and Cursor can open, edit and check workbooks.

in the works

Export the logic

Every sheet's calculations as readable SQL or dbt models, checked against the original numbers.

in the works

Share without seats

Publish a workbook as a static interactive page, or open it in a notebook.

next