Skip to main content

TrailsBI: End-to-end Data Lineage, Model Health and AI Readiness for Power BI. One report that maps every source, table, column, measure, visual and page, and tells you what to fix.

Website  ·  Get started  ·  Sample Reports  ·  YouTube

* Power BI is a trademark of Microsoft. TrailsBI is not affiliated with or endorsed by Microsoft.

Trails for Power BI

TrailsBI reads a Power BI project saved as PBIP (TMDL and PBIR files) and builds one self-contained HTML page you can open in any browser. It runs entirely on your machine: no sign-in, no upload, no telemetry.

Everything about your Reports and Semantic Models

Lineage - Follow any field from source to visual

  • Pick a column or measure and see every data source, table and measure it depends on, in navy.
  • Everything built on it, down to the visuals and pages, lights up in teal.
  • Compact cards for the whole picture, detailed cards with usage counts when you need them.
TrailsBI Lineage view on Microsoft's Human Resources sample

Model - Every table, column, measure and relationship

TrailsBI Model view on Microsoft's Retail Analysis sample

Reports - What each page and visual actually uses

TrailsBI Reports view on Microsoft's Regional Sales sample

Health - Best Practice Analyzer, without the setup

TrailsBI Health view on Microsoft's Store Sales sample

AI Readiness - How well Copilot will understand the model

TrailsBI AI Readiness view on Microsoft's Competitive Marketing Analysis sample

Get started

  1. In Power BI Desktop, save your report as a Power BI project: File > Save as > Power BI project (.pbip).

  2. Install TrailsBI (Python 3.9 or later, no other dependencies):

    pip install trailsbi
    
  3. Run it on your project:

    trailsbi "D:\Reports\Sales\Sales.pbip"
    

    This writes TrailsBI Report - Sales - 2026-10-04 16-47.html (with the current date and time) to the current folder. Open it in any browser.

Options:

trailsbi [PROJECT] [-o OUTPUT] [--open]

  PROJECT       a .pbip file, the folder that holds it, or a .Report folder
                (default: the current folder, so `trailsbi` alone works inside a project)
  -o, --output  where to write the page: a file name, or a folder for the default name
                (default: "TrailsBI Report - <project> - <date time>.html" here)
  --open        open the page in your browser when it is ready

TrailsBI builds one project per run. To cover several reports, run it once for each.

Without pip

Where pip is not available, download trailsbi.pyz from the latest release and run it with Python:

python trailsbi.pyz "D:\Reports\Sales\Sales.pbip"

Privacy and security

  • Reads metadata files only. Never opens cache.abf or any imported data.
  • Makes no network calls and sends no telemetry.
  • Read-only: never writes to your project files.
  • The page is one HTML file with no external scripts, fonts or images.

See SECURITY.md for details.

Develop

git clone https://github.com/trailsbi/trailsbi
cd trailsbi
python -m pip install -e . pytest "ruff==0.16.10"
python -m pytest
ruff check . && ruff format --check .

CONTRIBUTING.md explains how the code is laid out.

Licence

Apache License 2.0. See LICENSE and NOTICE.

Trademarks

Power BI is a trademark of Microsoft. TrailsBI is not affiliated with or endorsed by Microsoft.

Metadata

Release files for trailsbi 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trailsbi 1.0.0
File Size Uploaded
trailsbi-1.0.0.tar.gz 163.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for trailsbi 1.0.0
File Interpreter ABI Platform
trailsbi-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 309.4 kB

Release files / trailsbi-1.0.0.tar.gz

Download URL trailsbi-1.0.0.tar.gz
Size 163.0 kB
Tags Source
SHA-256 checksum
How to use checksums
557adb01d0c849368345c92dfc6454bc1d8641b9db9e15b4248c05c53c44beb5
BLAKE2b-256 checksum
How to use checksums
a4aa052c66da57191fb4f1e0cd86f89f0a254e049bd58405e5ec49fb0a87fb49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release files / trailsbi-1.0.0-py3-none-any.whl

Download URL trailsbi-1.0.0-py3-none-any.whl
Size 146.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71b48b6d6235505a8f17371c2f22fe434bfcc1e1bbb989d21276e9709b6e225e
BLAKE2b-256 checksum
How to use checksums
f44903b5cf9831f1b0cb9f78886c39d2c46955d05c81f7acbb799b96c6a4b10b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.1

2 release files

This release

1.0.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page