Repository navigation
Releases
BIcraft v0.3.0
BIcraft v0.3.0
Third public release, the first with macOS archives. BIcraft is pre-1.0: read "Known limits" before relying on it.
Highlights
- macOS archives for Apple silicon and Intel. They are built and tested on GitHub's macOS runners; nobody has run them on a Mac by hand yet, and they are not signed or notarized (see "Install").
- Parquet files:
Parquet.Documentreads flat Parquet files with BIcraft's own reader, and Get data has a Parquet button. - PostgreSQL and MySQL connectors written in Rust: navigation, query folding, refresh, native queries and DirectQuery.
- Privacy levels are now kept per user, not in the file. A source without a level blocks combining data until you set one, and a file's option to ignore privacy levels applies only once you confirm it.
- A threat model (
docs/threat-model.md) says what BIcraft protects, from whom, and what it leaves out.
Power Query and data
- Power Query editor: Expand reads the nested columns from the data; query groups keep their order in the file; queries can be dragged and dropped; the Advanced editor asks before discarding; calculated tables are recalculated on save after Close & Apply.
- 24 more M library functions (expression trees, well-known-text geography and geometry, number and content-type inference).
- The M evaluator and the Snowflake and Databricks answers are fuzzed; Snowflake timestamps before 1677 or after 2262 now load instead of failing the query.
App and reports
- A view rail at the left of the window switches the Report, Data, Model, DAX query, TMDL and Validation views.
- The ribbon follows Desktop's places: the Data tab is gone (its Power Query commands are in the query editor's ribbon and a Tools tab), and a Design tab is added.
- DAX user-defined functions: renaming a function updates the report's measures, and Update model saves
DEFINE FUNCTION. - BIcraft's visuals: small multiples, a right axis and 100 % stacks in the Spec visual; a grid of gauges; thresholds and a colour per series in Line / Area+; density curves, notched box plots and violins; Venn with five sets or more; avatars in the Org Chart. Every number is written in the report's locale.
- Key influencers: measures in Explain by, drill into an influencer, keyboard and screen-reader access.
- The server viewer exports a visual's data and the report to PDF for editors and readers.
Fixes
- DAX: one-to-one blank rows, SUMMARIZE with ROLLUP and ROLLUPGROUP, NONVISUAL, ISSUBTOTAL and FORMAT literals now agree with Microsoft's engine on the evaluator's corpus (957 of 957 cases).
- Row-level security with several roles: the RLS corpus agrees on 510 of 510 cases.
- Selections over tables that no single table reaches filter each table by its part.
Known limits
- The macOS archives are unsigned and not notarized, and there is no
.appbundle yet: start the app from Terminal. - Parquet: nested and repeated columns are refused.
- PostgreSQL and MySQL are tested against local servers only.
- Power BI service and Report Server are not tested; binaries are not code-signed on any platform.
- Every open shortfall is listed in
docs/gaps.md.
Install
- Windows x64:
bicraft-0.3.0-windows-x64.zip, runinstall.ps1or use it in place. - Linux x64 (glibc):
bicraft-0.3.0-linux-x64.tar.gz, runinstall.sh(installs under~/.local). - macOS, Apple silicon:
bicraft-0.3.0-macos-arm64.tar.gz; Intel:bicraft-0.3.0-macos-x64.tar.gz. macOS blocks the first run of a downloaded program that is not notarized: in Terminal, in the extracted folder, runxattr -dr com.apple.quarantine ., or allow it once in System Settings › Privacy & Security.install.shcopies the programs under~/.local. - CLI and MCP server from source (Rust 1.95+): see the README's Getting started (not on crates.io yet).
- Check downloads against
SHA256SUMS.
Full list of changes: CHANGELOG.md, section 0.3.0.
BIcraft 0.2.0
BIcraft v0.2.0
Second public release, three days after v0.1.0. BIcraft is pre-1.0: read "Known limits" before relying on it.
Highlights
- Tables up to the PBIX format's 1,999,999,997 rows. A 20 M-row table built by BIcraft opens in Power BI Desktop with the same answers, and BIcraft builds its 100 M-row bench file itself (1.05 GB, 182 s, measured once).
- Refreshing a 30 M-row CSV source uses about half the memory (peak 4.26 GB, was 7.55 GB; measured, one run).
- Its own Power Query engine now reaches Snowflake, signs in with a Microsoft Entra ID account or Windows authentication, and enforces privacy levels.
- DirectQuery tables can be read live from sources you allow, with filters and simple aggregates sent to the source.
bicraft-cliis packaged for crates.io but not published there yet: install it from the archives or build it from source.
Data sources and connectors
- Snowflake connector (SQL API v2 with a programmatic access token): navigation, folding, refresh and preview.
- Sign-in for SQL Server, Web, OData and SharePoint with Entra ID (browser with PKCE, or device code; tokens kept in the OS credential store); SQL Server Windows authentication (NTLM).
- Privacy levels stored per source and the privacy firewall applied to every M evaluation, with a per-file option to ignore them.
- 148 more M library functions (Xml.Tables, Cube., Table.View, fuzzy joins, Type., BinaryFormat.* and more); all join kinds.
- Web pages read as tables, OData v2/v3 feeds, SharePoint lookups as display text;
.pbidsfiles open the Navigator; VPAX statistics read. - Power Query editor: query groups, Enable load, Statistics and Parse menus; previews evaluate only the rows they show.
file.redactalso rewrites Power Query text and, withdata, text values in DAX.
DAX and model
- More DAX queries checked against Microsoft's engine on BIcraft's own synthetic models (the latest set: 508 of 510 agree); fixes in SUMMARIZECOLUMNS, ROLLUPADDISSUBTOTAL and FORMAT (two known differences remain).
- Report-derived aggregations answer distinct counts, are kept between sessions and rebuilt after a refresh (Q07 at 10 M rows: 41.0 ms to 3.0 ms cold, measured).
- A table's Key column and Row label in the Model view, round-tripped through TMDL, TMSL and PBIX.
- TMDL view Format, more Options pages, Data format currency and date lists.
Reports and visuals
- Viewer: drill header icons, right-click data point menu, report-page tooltips, cross-report drillthrough, points in matrices, scatter, waterfall and small multiples.
- Export: matrices tagged as tables in PDF, export data with applied filters, Export to PDF and Export data from
bicraft-cli view; veraPDF finds no failed rule on synthetic exports. - High contrast in PDF export and the HTML viewer; the desktop app follows the system setting while running.
- See records follows the clicked measure; Group data shows the group; the what-if box takes typed values.
- Visuals: Gauge / KPI+ 1.0.5.0 (threshold ticks, needle, trend axis), Venn 1.3.6.0 (four sets), Calendar Heatmap 1.3.5.0 (week ranges, fiscal years).
Desktop checks
Checked in Power BI Desktop 2.160.1151.0 on synthetic files: drill, drillthrough, tooltip pages and View as; RLS and an Excel source in a refreshed PBIX; Optimize ribbon, mobile layout, bookmarks of drilled charts, conditional format Percent rules, Show value as, groups and bins, the 23 tile shapes, and the latest versions of BIcraft's visuals. Most differences found were fixed; the rest are listed in docs/gaps.md.
Server and deployment
- An upload over a file with unsaved edits merges them instead of refusing; a never-saved model is recovered into a new tab; recovered sessions get their data sources back.
- Helm charts and image tags at 0.2.0.
Distribution: crates.io
bicraft-cli and its 40 library crates are packaged for crates.io at 0.2.0, not published there yet. A crates.io build has no browser app and no desktop app; use the archives for those.
Known limits
- Connectors are tested only against fake and test servers (no real tenant, Azure SQL, SharePoint Online or domain; no Kerberos); Snowflake against one trial account; Databricks against no real workspace.
- DirectQuery and the privacy firewall are not compared with Desktop.
- A refresh over 16.7 M rows has not been opened in Desktop; non-CSV sources load whole in memory.
- Server OIDC and Kubernetes are a preview (local test provider, local kind cluster only).
- Power BI service and Report Server not tested; no macOS; binaries not code-signed.
Install
- Windows x64:
bicraft-0.2.0-windows-x64.zip, runinstall.ps1or use it in place. - Linux x64 (glibc):
bicraft-0.2.0-linux-x64.tar.gz, runinstall.sh(installs under~/.local). - CLI and MCP server from source (Rust 1.95+): see the README's Getting started (not on crates.io yet)
- Check downloads against
SHA256SUMS.
BIcraft v0.1.0
BIcraft's first release. BIcraft creates, reads, edits, validates and converts Power BI files (PBIX, PBIT, PBIP, PBIR, TMDL, TMSL) in pure Rust, with DAX checked against the semantic model. It runs on Windows and Linux and needs neither Power BI nor any Microsoft component at run time.
What is in the archives
Each archive holds two programs:
bicraft: the desktop app. It shows a report and its model, Data and Report views, the Format pane, Power Query, and DAX with a formula bar. Every engine command has its button.bicraft-cli: the command-line tool and the MCP server (bicraft-cli mcp), so AI agents can author and edit the files Power BI Desktop opens.bicraft-cli view FILEopens the same UI in a browser.
They also hold BIcraft's fourteen Power BI visuals as .pbiviz files, the README, the MCP reference, the licences and the notices.
| Platform | Archive |
|---|---|
| Windows x64 | bicraft-0.1.0-windows-x64.zip (install.ps1 copies both programs to %LOCALAPPDATA%\bicraft\bin) |
| Linux x64, glibc 2.35 or newer | bicraft-0.1.0-linux-x64.tar.gz (bin/ and share/; install.sh installs under ~/.local with the menu entry, icons and file types) |
SHA256SUMS lists one checksum per archive. The install scripts never change PATH, the registry, default applications or client configurations.
Status
This is a 0.x release. The README's "What is not finished or not tested" section and docs/gaps.md list the open shortfalls honestly. Notably:
- The Linux desktop app has been built and checked offscreen in WSL, but not yet run in a full Linux desktop session.
- Many details are still to be compared against Power BI Desktop.
- The binaries are not code-signed. Windows SmartScreen may warn on first launch.
Report problems in the issues; report vulnerabilities privately (SECURITY.md).