How to Develop your own External Tools for Power BI

 

🎦 Check out our short video tutorial to see all the details in action 🎦

 
 

One of the coolest features coming out of the July 2020 update was the ability to set-up the external tools Power BI ribbon. We’ve had some awesome blog posts since the release, such as from Guy in a Cube on how to enable the external tools ribbon, and PowerBI.Tips on how to install a whole range of tools. But if your like us, then you’re probably thinking…how do I create my own tool?

Follow along with our short video to learn some tricks to help you build your own Power BI external tool, as we set up the framework for our own DiscoverEI EnviroToolkit!

 

In this post we will show you how to create your own Power BI External Tools in 3 easy steps!

 

 

STEP 1: Enable your Tools

 

▶️ Skip ahead in the video to Step 1 ▶️

 
 

There are some important things to note when setting up your External Tools:

  1. Have at least the July 2020 version of Power BI Desktop installed on your machine

  2. We suggest using an existing tool as a guide - take a look at DAX Studio, ALM Toolkit or the Tabular Editor (which are our favourites). To add these into your ribbon, you just need to install the latest version of these tools on your machine.

  3. Once you have added some External Tools, you’ll need to restart Power BI Desktop and then you will see your new tools in the ribbon

These external tools are essentially just JSON files, stored in your Program Files, here:

C:\Program Files (x86)\Common Files\Microsoft Shared\Power BI Desktop\External Tools

Navigate to this folder location, and open up a couple and take a look!

 

STEP 2: Copy a Template

 

▶️ Skip ahead in the video to Step 1 ▶️

 
 

Now that we have a couple of template External Tools - the next step is to open some up and review the structure of the JSON file, to get an idea of what to modify. You can see that the key fields are: version; name; description; path; arguments and icon data.

The easiest way to get started creating your own External Tool is to copy an existing one, because in the words of the great Patrick Le Blanc himself… ‘We’re not lazy… we’re just efficient!’ For our example, we’re going to copy the Power BI Themes Gallery template from PowerBI.Tips

Note: it’s a good idea to work on your External Tool JSON file in a different folder (i.e. your Desktop), as this folder is secure and doesn’t allow incremental file saving.

 

STEP 3: Create the Tool

 

▶️ Skip ahead in the video to Step 3 ▶️

 
 

In our example we are creating the basic framework for the DiscoverEI EnviroTools. At this stage our tool will only navigate users to our website… until we get our EnviroToolkit off the ground! You can take a look at the steps we go through in the Video above, but the two most important parts are:

  1. Name your external tool JSON file with a prefix to have it displayed first in the ribbon. Tools are organised in alphabetical order so using 001_ at the start will make sure it’s front and centre for you to use.

  2. Our tool icon needs to be in a Base 64 format, which is just a binary to text encoder. We used the Base 64 Image Converter to turn the DiscoverEI icon into Base 64 format. You then only have to replace the string into the JSON file.

And well done!! You can now look at your new tool in the Power BI ribbon and start to share it with the global Power BI community!!

 

In Summary…

With the ability to customise tools and embed these within Power BI desktop, we now have so many more opportunities to customise features in our Power BI reports, automate our workflow and connect our data to the outside world! Watch this space as we can really see this feature taking off and cannot wait to see what cool community tools are developed.

 
External Tools - Call for action.png
 

If you want the first stage of the DiscoverEI EnviroTool then its available for download below.

DiscoverEI Power BI External Tools.png

Power BI Training Courses

We’re really excited to announce the DiscoverEI teams virtual 2-day Power BI training courses, to fast-track your Power BI journey. Click on the links below to learn more, or get in touch today!


Related Posts