Lantern Tools

How to export model.bim and model.vpax from Power BI Desktop

Lantern draws a Power BI model from two files you export yourself. Both come from free tools that install in a minute and appear in Power BI Desktop under the External Tools tab. Neither file contains any of your data rows; they describe the model, not its contents.

Before you start, once

model.vpax, from DAX Studio

  1. In Power BI Desktop: External Tools → DAX Studio. It opens connected to your model.
  2. In DAX Studio: Advanced → Export Metrics. Save the file as model.vpax.
DAX Studio: Advanced ribbon, Export Metrics

It takes seconds on a small model and up to a minute on a large one. The file is a zip holding statistics about every table and column, rows, size, distinct values, plus a copy of the model's definition.

model.bim, from Tabular Editor

  1. In Power BI Desktop: External Tools → Tabular Editor. It opens connected to your model.
  2. In Tabular Editor: File → Save As. Save the file as model.bim.
Tabular Editor: File menu, Save As

The file is the model's definition as JSON: tables, columns, relationships, measures with their DAX, and each table's Power Query steps.

Then

Drop both files on lanternbi.com. The drawing is made inside your browser. The files never leave your machine.

Good to know

Draw your model