Back to Blog

Registering External Tools in Power BI Desktop - The Ribbon Most Report Builders Ignore

September 3, 20268 min readMichael Ridland

There is a tab in Power BI Desktop that a lot of people never click. It sits over on the right of the ribbon, labelled External Tools, and for anyone who only ever builds reports the Microsoft way it stays empty and ignored. That is a shame, because that ribbon is where Power BI quietly admits its own limits and hands you off to tools that do the heavy modelling work far better than the built-in editors ever will. Understanding how external tools register themselves, and which ones are worth registering, is one of the clearer dividing lines I have seen between someone who builds reports and someone who builds data models properly.

The mechanism is straightforward once you see it. Power BI Desktop looks in a specific folder for small definition files, and any tool that drops the right file in there shows up as a button on the External Tools ribbon. Click the button and the tool launches already connected to whatever model you have open, no faffing about with connection strings. Microsoft's documentation on registering an external tool covers the exact file format, and it is worth knowing even if you never hand-write one, because it explains why the popular tools "just appear" after you install them.

How registration actually works

When Power BI Desktop starts, it scans a folder, on a standard install that is under the Program Files path for Power BI Desktop, in an External Tools directory. In there it looks for small JSON files with a .pbitool.json extension. Each of those files describes one tool: a name to show on the ribbon, an icon, the path to the executable, and the arguments to pass it when it launches. Here is the important bit: those arguments can include placeholders that Power BI fills in at launch time, the server and database name of the model you currently have open. That is the magic. When you click the button, Power BI hands the tool a live connection to your open model through the local Analysis Services engine that sits under every Desktop session.

Most people never write one of these files by hand, and they do not need to. The well-known tools ship an installer that drops the definition file in the right place for you, so after you install Tabular Editor or DAX Studio, the button is simply there next time you open Desktop. But knowing the mechanism matters for two reasons. First, it demystifies what is happening, these tools are not plugins in some deep sense, they are external programs handed a connection string. Second, if you ever need to register something bespoke, an internal tool your team built, a script you want one click away, you now know it is a small JSON file, not a Microsoft-sanctioned SDK affair.

The tools that actually matter

Two external tools do most of the real work, and if you build serious Power BI models you should have both.

Tabular Editor is the big one. The modelling experience inside Power BI Desktop is fine for small models and painful for large ones. Creating fifty measures through the Desktop interface, one dialog at a time, is slow and error-prone. Tabular Editor gives you a proper editor over the whole model: measures, calculation groups, display folders, perspectives, the lot, with scripting so you can make bulk changes in seconds that would take an hour by hand. Calculation groups in particular, which are one of the most useful features in modern Power BI, are far easier to build in Tabular Editor than through Desktop. Once a team crosses a certain model size, this is not a nice-to-have, it is how the work gets done.

DAX Studio is the other. When a report is slow, or a measure returns something you did not expect, DAX Studio is where you go to find out why. It lets you run DAX queries directly against the model, see the query plan, measure how long things take, and inspect exactly what the engine is doing. Trying to debug a slow measure through the Power BI Desktop interface alone is like trying to fix a car engine by listening to it from the driver's seat. DAX Studio pops the bonnet. The performance work our Power BI consultants do on client reports lives in DAX Studio, because you cannot fix what you cannot measure, and Desktop does not give you the measurements.

There is also ALM Toolkit, which handles comparing and deploying model changes between files, useful when you are managing a model across environments and need to move just the differences rather than the whole file. Less glamorous, very handy the day you need it.

Why this is where the real modelling happens

Here is the honest observation underneath all of this. Power BI Desktop is two products wearing one coat. It is a report-authoring tool, the visuals, the pages, the formatting. And it is a data-modelling tool, the tables, relationships, measures and calculations underneath. The report-authoring half is genuinely good and Microsoft has clearly invested in it. The modelling half, the built-in version, is adequate for small work and starts to creak the moment a model gets serious. The External Tools ribbon is Microsoft's tacit acknowledgment of that. Rather than trying to build a world-class modelling editor into Desktop, they left a clean door for the specialist tools that already do it better.

That is actually a sensible design decision, and I respect it. The alternative would be a bloated Desktop trying to be everything and doing the modelling half poorly. Instead the ecosystem grew tools that are excellent at the deep modelling work, and Power BI just makes them one click away with a live connection. But the practical consequence is that if you never open that ribbon, you are building models with one hand tied behind your back, and you probably do not know it because the Desktop experience never tells you there is a better way. The gap between a report person and a modelling person is very often just whether they know these tools exist and use them.

Where it gets rough

A few things to watch, because it is not all smooth.

The connection external tools get is a live one into your open model, and that cuts both ways. You can make changes in Tabular Editor and write them straight back into the model, which is powerful and also means you can break things in ways Desktop's undo does not fully cover. Treat that write connection with the respect you would treat a direct edit to a production database. Save first, know what you are changing, and do not do bulk scripting on a model you have not backed up. The power that makes these tools worth using is the same power that lets you make a mess quickly.

There is also a governance angle that gets overlooked. Because registration is just a file in a folder, in a locked-down corporate environment those folders and the tools themselves may be blocked, and getting Tabular Editor approved and installed can be a slower conversation with IT than the report builder expects. Worth sorting early rather than discovering on deadline day that you cannot install the one tool you need. And the free versions of these tools cover a lot, but some of the more advanced capabilities sit behind the paid editions, so for a team doing this seriously there is a licensing conversation to have, modest money for what you get, but a line item nonetheless.

The last thing is that these tools assume you already understand the model. They are sharp instruments, and a sharp instrument in an unsure hand is a hazard. Handing DAX Studio to someone who does not understand query plans will not magically make them a performance expert, and letting someone loose in Tabular Editor's scripting before they understand what a calculation group is will produce a mess faster than the Desktop interface would. The tools amplify skill. They do not substitute for it.

Where we land on it

For any team building Power BI models beyond the simple, the External Tools ribbon is not optional, it is where the real modelling and the real performance work happen. Tabular Editor and DAX Studio are the two to know, they register themselves when you install them, and the mechanism behind that, a small JSON file pointing at an executable with a live connection, is worth understanding even if you never write one. If your reports are slow, or your models are getting large and unwieldy through the Desktop interface, the tools that fix that are one ribbon tab away and most people have never clicked it.

This is the kind of thing our team does as a matter of course on client engagements, and it is a big part of what separates a report that scales from one that falls over as the data grows. If you have got Power BI models that are getting hard to manage, or reports that have quietly become slow and nobody knows why, that is squarely the work our Microsoft Fabric consultants and Power BI consultants do. Have a look at our services or get in touch and we will take a look under the bonnet.