Icons Sets and Data Bars in #PowerBI #Visio visual

I really enjoy linking data to Visio diagrams, either directly or using the Visio custom visual in Power BI. This visual has the ability to display PowerQuery data as text or color, but not as icons or data bars. These last two features are something that can be used natively in Visio, and automatically updated in Visio Online. I have previously urged Microsoft to add these abilities to the Visio custom visual in Power BI, but there is no sign of it appearing just yet. The custom visual actually removes any Data Graphics ( Text Callouts, Icon Sets, Data Bars or Color by Value) that may already exist in a Visio diagram when it is embedded into Power BI. This reduces the number of shapes in the visual (there is currently a low limit) and, in any case, the data should be displayed from Power BI.

I want to be able to display some data as icons and data bars within the Visio diagram, so what is the alternative? Fortunately, there is a way using text symbol characters and the wonderful Power Query formulas!

This slideshow requires JavaScript.

In this example, I had numeric data for the Fire Marshall, First Aider, and Passed columns. I used Power Query to change the Fire Marshall and First Aider columns to text, and then replaced the zeros with an empty string, and then replaced the 1 character with a suitable symbol from the Segoe UI character map ( ● and ♦ ).  As far as I can tell, the Visio visual only uses the Segoe UI font for text values display, even though the title font can be changed. Then I added a custom column in Power Query and used the Text.Repeat(“■”,[Passed]) formula to create a data bar composed of repeating characters.

I could then add these columns as Text to the Visio visual, position them and format their color to suit the Legend that is not automatically removed when the Visio diagram is displayed in Power BI.

This slideshow requires JavaScript.

It is a little bit of a hack, and it would be nice to have the choice of fonts that can be applied to text values in the Visio visual. Just imagine what we could do with Wingdings (x3) and Webdings!

See my earlier post for more information : Using Character Map Symbols as Data Graphic Icons




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.


O365 and SharePoint

Simplify Tasks

Want to learn the simple way?

Paul Turley's SQL Server BI Blog

sharing my experiences with the Microsoft data platform, SQL Server BI, Data Modeling, SSAS Design, Power Pivot, Power BI, SSRS Advanced Design, Power BI, Dashboards & Visualization since 2009

John Goldsmith's visLog

be smart, be clear, be visual ...

Mo's blog

Personal views on Dynamics 365 for Operations and Technical Architecture.

Chris Webb's BI Blog

Microsoft Power BI, Analysis Services, MDX, DAX, M, Power Pivot and Power Query


Azure Solutions for Office 365, and more...

Rob Fahrni



Life with Visio and other Microsoft Toys!

Nilsandrey's Weblog

Just another WordPress.com weblog

Things that Should be Easy

Every so often (too often in the IT industry) I encounter things that should have been very easy to do but turned out to be far too complicated. My favorite topics include SharePoint, .Net development, and software architecture, especially distributed systems.

Visio Guy

Smart graphics for visual people

%d bloggers like this: