This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
By Amir Netz – Technical Fellow and the Amazing Marco Russo and Daniele Perilli of SQLBI
In this episode of Awesomeness Unlocked we are returning to the winner of the Power BI Custom Visual Contest – the Synoptic Panel by SQLBI.
No, we will not attempt to solve the ancient mystery of “what the heck is Synoptic?” This is of course a question that no one can answer to any satisfaction. So just get used to it folks – it is called Synoptic Panel for no good reason.
Instead in this episode attempt to we will unlock all of the other mysteries of this amazing visual. And it really is amazing. We, in the Power BI team, are extensive users of this visual. If you know how to work it – getting stunning results is unavoidable.
Today’s post was authored by the Amazing Flying Brothers Marco and Daniele (Ok - they are not really brothers, but they are amazing). This blog post is extra-long and it will make you appreciate why the Italians have to speak so fast – they simply need to fit way more words in the same length of time.
So take from here Marco and Daniele…
The Synoptic Panel by SQLBI is a powerful visual component for Power BI that connects areas in a custom image with attributes in the data model, filling each area with a color or with a saturation of a color related to a value or to another measure.
You can download the latest version from Github or grab it from Power BI Visual Gallery.
In order to demonstrate the use of this Visual, we will use it to display the sales of products related to their position in a store.
First, you need a map of your store, preferably a grayscale one (JPG/PNG and SVG image files are supported).
You have to import the map in the free tool Synoptic Designer (https://synoptic.design).
Synoptic Designer is a web application that runs within any modern browser (IE 10+, Edge, Chrome, Firefox and Safari) and highlights areas of your map in an easy-to-use way.
Select a tool on the bottom pane and click on the map to define new area points.
If the map is not too complex, you can use the Magic Wand tool to do this job very quickly, clicking in any point of a closed area that you want to color and obtaining as a result the complete definition of the area itself.
If you import an SVG file, all the included vector shapes with an ID attribute will be automatically recognized as areas.
After you defines all the areas, you name them so that every area has the same text of the content of a column in the data model, which you will bind to the component later.
In the following picture, we assigned a product category name to each area, because it is the zone of the shop dedicated to products of that category.
Note that if you want to show on the map a different label than the record name, you can fill the Area name (to display) field.
Once you complete the definition of the areas, you can export your work to use it in your report. Click the Export To Power BI button and download the generated SVG file.
If you want to use a map from the public gallery, click on the Gallery tab, select an entry and press Edit in Designer button, as shown below.
If you are editing a map taken from our public gallery and you want to export it to Power BI, right click on the map image in the export dialog and choose Save Image as.
You can submit your content to the public gallery by choosing Submit to Gallery button. Note that every submission will be reviewed by the SQLBI team.
Before starting, you have to import the Synoptic Panel custom component in your Power BI Report. First, you download the latest version from Github or grab it from Power BI Visual Gallery. Then, you import the component by using the three-dot button in the tools panel. You will see a dialog box where you choose the Synoptic Panel .pbiviz file that you downloaded before.
Once imported, you can drag the component into the main canvas area, change its properties, and bind it to your data.
The Synoptic Panel provides the following properties:
After setting basic data properties (Legend/Details and Values), you have to select the SVG image map generated by Synoptic Designer from your local computer, as shown in the next pictures.
Note that you can choose one of the maps in our public gallery by clicking the Gallery button.
At this point, you can assign State/Saturation measures and set the ranges, as in the following example.
The Synoptic Panel responds to data selection like any other Power BI component. You can drag a slicer on the main canvas and start to see how your categories perform across the time, as you can see in the next picture.
The component also provides you a way to dynamically bind more maps to the same component, binding to the Maps field a measure that returns the map URL (beginning with https) as a string. You can see an example of this feature in the video, and a detailed step-to-step guide for binding dynamic maps will appear on https://synoptic.design web site.
Here is a short video that recap all the steps:
Download the latest version of Synoptic Panel for SQLBI from Github or grab it from Power BI Visual Gallery.
Did you produce some interesting content for the community? Share it in the Synoptic Designer Gallery!
Have you any idea to improve the component? Leave a track in the comments below!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.