A DAX to SQL compiler for Tabular (TMSL) semantic models
https://djouallah.github.io/dax-sql/ โ// momentum
// why it's here
- Created 7 weeks ago and already shipping
- Built almost entirely by one person
- Health 90/100 with only 7 stars
// how to help
// readme
dax-sql
Initially written by N.S. Devaraj.
Compiles a DAX or SQL query over a semantic model to one DuckDB SQL SELECT. No dependencies. npm install dax-sql; API, example and everything it does in DESIGN.md; anything not there is not implemented.
DAX is tested against Power BIโs answers (conformance/), SQL too, Apache Ossieโs compliance cases among it; blanks are DAXโs in SQL too (NULL + 1 is 1, a NULL key meets a NULL key), as Power BI answers. Errors: SYNTAX, SEMANTIC, UNSUPPORTED, INPUT; CATALOG for semantic views. The API is a strict contract; the SQL it writes is not, and keeps getting better.