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
    

    Or

    uv tool 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.

Single file

Each release also has trailsbi.pyz, the whole tool in one file: python trailsbi.pyz "D:\Reports\Sales".

Common Installation Issues

1. Windows: "'trailsbi' is not recognized"

When Python comes from the Microsoft Store or the Python install manager, pip puts the trailsbi command in a Scripts folder that is not on your PATH. pip warns about it during the install, and running trailsbi "pbip-project-path" returns 'trailsbi' is not recognized.

Fix:

  • Add that Scripts folder to your own PATH once. Setup

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.1

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.1
File Size Uploaded
trailsbi-1.0.1.tar.gz 163.6 kB Details

Built distribution (wheel)

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

Total release size: 310.2 kB

Release files / trailsbi-1.0.1.tar.gz

Download URL trailsbi-1.0.1.tar.gz
Size 163.6 kB
Tags Source
SHA-256 checksum
How to use checksums
10d50c608aaa2585caf9d1c6195928e25ce21633b2c3760049a34c13756c5257
BLAKE2b-256 checksum
How to use checksums
31b58141795a50cd5fadeb7ecc8771334d938e7984d631bb9d67f7e78e8e4673
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 6, 2026.

Transparency log

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

Download URL trailsbi-1.0.1-py3-none-any.whl
Size 146.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f69f969a0a173a691de396d2f983f5b91165b37504483e7ae235a484844840d6
BLAKE2b-256 checksum
How to use checksums
cf6296226bb008a54b85eb2699b0ee117e896317b7c5cd93f2a0143d8d77cffe
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 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

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