Lantern Tools

How to read the portrait

The portrait is one drawing of a whole Power BI model: every table, every relationship, every measure.

HOW TO READ ME1 join outa freckle = a measure · the grey tail = its copiesfact tables sit on the middle disca dot = a tablea rope = a join · the thick end is the many sideeach ring out = one more join awayHover anything: it tells you its name.Click a dot: its related tables and measures light up, everything else steps back. Ctrl-click adds.HOW BIGsmallbigstored data · the bigger, the palerHOW THICKfewmanykey values crossing the joinTHE ROPESa join · thick end = the many sidekeys find nothingflows both waysswitched offA DOT'S COLOUR — WHERE ITS TABLE COMES FROMa databasecomputed from other tablestyped in by handa calculation groupa field parametersource unresolvedWHAT GREW ON ITbarnacles = Power Query steps past the basic twothorns = calculated columns, one spike eachan inner ring = incremental refresh · counts as loaded in the fileThe side lists hold the tables joined to nothing.THE RAIL — EACH ICON OPENS ONE PANEindex — find tables, joins, measures by namegrain — the clicked table's columnsƒDAX — the clicked thing's DAX formulapower query — the clicked table's M codeall — open or close every pane at onceone, both, or none — open panes sit beside each otherAashow or hide: tables · names · joins · measures · keyTHE GRAIN PANE — CLICK A TABLEuser_idthe table's key — its grain: one row per valuedate (users_date)a join column · in brackets, the table it reachesprofitred = a DAX-computed column · click the name for its formulainternal_idfaded = hidden from report builders1.2kdistinct values · pink = equals the row count, so the column is unique

Where things sit

Fact tables sit on the middle disc. Each ring out is one more join away: 0 joins out, 1 join out, 2 joins out, and so on, outward. Tables joined to nothing, or only to each other, sit to the left, under their own heading: JOINED TO NOTHING — OR ONLY TO EACH OTHER.

What a table is

How big

A table with incremental refresh shows the rows Power BI Desktop had loaded when you exported the files, not what the published model holds. If the model is published on Premium, PPU or Fabric, export the two files from the published model over XMLA and the sizes are the real ones.

What grew on it

The ropes

The measures

The rail and the panes

one, both, or none — open panes sit beside each other

Show or hide

The dock above the drawing: tables · names · joins · measures · key. Hide the names before a snapshot if you would rather not show them.

Snapshots

The camera button, or Ctrl+S, saves a PNG of what is on screen: the visible part of the sheet at the current zoom, with any open pane. Every snapshot carries a small grey mark bottom-right: the lantern, lanternbi.com and the date.

The measure lineage

The second view answers one question: how much of the model is built on how few measures. The tables sit on top, and each level down is built one measure deeper.

Click a tile: what it is built on and what is built on it light up. The dock sets how many levels a click lights, and which way; ctrl-click adds another measure under the same rule. Hover anything for its name and level.

What is not drawn

The two files describe the tables, relationships, measures and sizes of one model. Anything outside them is not drawn.

Draw your model