Introduction

Power BI is fantastic for visualising geological data, with the latest Azure Map visual providing some further enhancements on top of previous map visuals (pathing, traffic layers etc.)

However, what if there was a need to drill-down a little further into a location.

For example:

What if we wanted to understand how product positioning within a store might be affecting sales.

Or maybe, we own a vehicle maintenance workshop and wanted to visually plan which vehicles are to be assigned to which bays.

We don’t currently have a native Power BI visual which allows us to do this.

This is where Synoptic Panel comes in.

 

The logo for the Synoptic Panel visual

 

Synoptic Panel (by OKVIZ) is a custom visual that allows you to transform SVGs into data-driven images. This is very useful when we want to view trends and heatmaps over floor plans and technical diagrams.

Tip: Synoptic Panel is a premium visual, there is a licensing cost for dynamic maps. For this example I will use Synoptic Panel Lite which can use one static map.

In this blog, I will show you how to create an SVG, upload it into our custom visual and map the different areas to points in our data.

Example Scenario:

We own a pharmacy, and wish to see the sales of our products by type and location within the shop.

I am using the dataset from the Onyx DataDNA challenge from January 2026 here.

Tools used:

  • Power BI Desktop (of course).
  • Canva – I am using this but there are many free tools available to create your SVG image file.
  • Visual Studio Code – for editing the SVG’s code (you’ll see why later).
  • SVG preview Visual Studio Code extension by Simon Siefke – this helps with previewing whilst editing the image code.

Setup

The Data

 

I have connected to the Excel Workbook provided for the challenge using Power Query and made a few transformations to help model the data.

The final model I am using is very straightforward:

An image of the data model being used. There are three tables: Date and Product dimensions connected to a sales fact table.

I have grouped the product data into various types and added this column to the product dimension, which will become the ‘sections’ within our pharmacy layout.

These are:

  • Allergy
  • Cold and Flu
  • First Aid Kits
  • Gastrointestinal
  • Hair Care
  • Joint Care
  • Monitors
  • Mouth Hygiene
  • Nasal Sprays
  • Pain Relief
  • Prescriptions
  • RespiratorySkin Care
  • Sunscreen
  • Thermometers
  • Vitamins

The Diagram

 

I created my map using rectangles in Canva (using a bit of imagination). Each area is split by whitespace and non-interactive aspects are grey in colour to separate them visually from the shelves.

A floorplan of a pharmacy with labelled shelves

The image needs to be exported from Canva as an SVG, which is done by selecting ‘Share’, ‘Download’ and then changing the file type in the dropdown.

 

Exporting the SVG from Canva

 

Once downloaded, I open the file in VS Code ensuring to open it in Text Editor. To do this, right click the file in the Explorer pane and click ‘Open with…’ and then click ‘Text Editor’ near the top of the VS Code window.

 

Opening your SVG as text within Visual Studio code Opening your SVG as text within Visual Studio code

 

Tip: You may need to prettify the XML for ease of editing…

Now, to map the shapes to the data, I need to add Id tags to the XML that match to the categories we are slicing by. In this case, it will be the name of the type of product from the list above.

Inside each <g> tag I add the Id attribute and assign the Product Type to the corresponding rectangles.

 

XML code behind the SVG image being edited. Id tag is added.

 

I then repeat this for all shapes until my shelves are mapped out.

Tip: The Svg preview extension helps me see which shapes are which when I am coding

 

Side-by-side of image XML and Svg preview extension in VS Code

Once completed I save the edited SVG image and jump into Power BI Desktop.

The Report

 

I have a simple report template with title banner for the Pharmacy sales report.

 

A Power BI report template with a title bar containing a logo of a Peste and Mortar. The page is titled Product Sales.

To this I need to add the Synoptic Panel Lite custom visual, which can be done using ‘Get more visuals’.

I will be importing the Lite version of Synoptic Panel for the sake of this demo.

 

Synoptic Panel and Lite version as shown in Get More Visuals

 

Once added to the report, I bring the Synoptic Panel Lite visual onto my page.

I then bring a Total Sales Revenue measure into the Value field, and Product Type into the Categories field:

Data points added to the visual

Finally I add the SVG map file I created earlier as a Local Map:

 

Adding a Map File to Synoptic Panel Lite visual

 

Synoptic Panel will show me a preview of my floorplan, and as I have set my Id tags correctly it will automatically bind the shapes to each Product Type.

 

A preview of the Pharmacy map inside the Synoptic Panel window

 

Once I click ‘Done’, my map will now be interactive!

I can set conditional formatting to highlight my top selling shelves, and when I click on my shelves I can filter other visuals using my selection.

If I wanted to I could also create report page tooltips when I hover to make it look even better.

The final visual looks like the below:

 

An image of the final report with Synoptic Panel visual showing product revenue by heatmapping the shelves

 

Now I can see how much revenue my products are generating by shelf location (although being a dummy store layout, I may not glean anything useful in this demo!).

Thank you for joining me in this small example of how Synoptic Panel could be useful when wanting to improve your report interactivity.

Tags: , ,