Semantic Model Viewer
Understand how a Power BI semantic model fits together: tables, relationships, DAX, and Power Query.

For Power BI developers and consultants exploring, maintaining, or handing over models.
The browser viewer and local app parse your model metadata on your computer without uploading it.

Try in browser · Windows portable ZIP · VS Code extension
The browser demo opens with a synthetic Contoso Retail model. No installation or account is needed.
Learning library: watch recordings, download PDF walkthroughs, and follow the guides
What's new in 0.8
- Reference. A searchable page for every table, column, measure, calculation group, hierarchy and Power Query object, with its definition, properties and links to related objects.
- DAX for calculated objects. Show DAX calculation opens calculated tables, calculated columns, field parameters and calculation groups in Measures, with the same formula cards and reference chips as measures.
- Safer imports. A model that fails to load no longer replaces the one already open. Object names that clash with built-in names work, parallel relationships are kept, and anything left out during import is listed.
- Keyboard and small screens. Move between relationships with the arrow keys, use the import dialog and Help from the keyboard, and read Measures on a narrow window by switching between the library and the reader.
- Large models. Power Query opens its inventory straight away, and dense diagrams draw in bounded time and say so when some lines could not be routed around cards.
- Exports. PNG export works offline, leaves out tooltips and popovers, and snapshots state what they contain before you share them.
Get started
| Where | First steps | Requirements |
|---|
| Windows portable | Extract the ZIP and double-click Run Semantic Model Viewer.cmd. | Windows x64 and a browser; no installation or separate Python setup. |
| Browser | Open the demo, then choose Open model to import your own model. | A desktop browser; Chrome/Edge also support connecting a repository folder. |
| VS Code | Install the extension, open your project folder, then select a model in Semantic Model Viewer. | VS Code; no Python or Power BI Desktop needed for local model files. |
| Mac / run from source | Follow the repository setup. | Python 3 and a browser. |
See the portable download instructions for package availability.
In Tables, add Sales with +, select it, and explore its filter paths.
In Measures, select a measure to follow its dependencies and inspect the DAX.
Supported files: TMDL (*.SemanticModel folders and PBIP project folders) and model.bim.
A .pbip file alone is not the model; .pbix files cannot be opened directly.
See supported input and troubleshooting.
Claude Code
Load the semantic-model-viewer plugin to open models, ask for visual explanations, and
save offline snapshots from Claude Code. It runs the existing CLI through Claude's shell tools.
Install from inside Claude Code:
/plugin marketplace add MrPerfectH/Semantic-Model-Viewer#claude-marketplace
/plugin install semantic-model-viewer@semantic-model-tools
Use /semantic-model-viewer:open for diagrams. /semantic-model-viewer:setup is optional for a global terminal command. smv show <model> --table "Cost Center" --related --dependents opens a reusable side-by-side Tables/Measures workspace; relations and dependents give short metadata answers. Requires Node.js 22+ and Git. The plugin CLI has no runtime npm dependencies. No separate Viewer app installation is needed.
See plugin setup and commands.