How to generate multi-parent charts in Power BI ? The only answer is Visio
Mis à jour : 26 mai 2020
The purpose of this article is to explain how to generate an Organization Chart in an industrialized and fast manner, without error and with the minimum of manual interventions, in order to be able to display it in Power BI.
If your prefer a video rather than an article, go to the bottom of this post ;)
This organization chart should allow to visualize complex organizations, with large quantities of entities (up to several hundreds), several levels of ownership (ex: level 1: holding company, level 2: company A and company B, level 3: company A1, A2, and B1 and B2), as well as multi-parent relationships (eg Company X is owned by both Company A at 49% and Company B at 51%.)
In order to allow this, we have described in detail all the operations and treatments that are necessary. As we have tried unsuccessfully with many custom visuals (see image below), the use of Microsoft Visio, through the Organization Chart Wizard, is the optimal solution we have envisioned.
Find here how the chart looks like :
Your Source File
Open a blank Visio file, which is a file of type .vsdx
Go to the Data tab and then Create
-Select Simple Flow Diagram option
-Select an Excel workbook (choose its location and then click on Open to import it)
-Select a table or a custom range in the workbook: select the relevant range. (NB: it is preferable that your range is formatted in Excel as an array, because the wizard will automatically import the array)
-Click on next.
You must now map your Visio organization chart.
For the process step ID (1) space, select a unique field for each unit. This will be the ID field on our model.
-For the description of the process step or activity (2), select a field that would display a description of each entity. On our model, it will be Entity (in order to display the name of the entity).
The form type (3) space for process steps is described in the following section. For the moment, we are inserting the TypeDeForme field. Click Next.
Step 3 allows assigning shapes or icons based on values. (ex: Display all entities whose ISO code is FR with a specific form, or all SARL type units with a specific icon, etc.). Our goal in this case is to have a unique type for all entities.
Since we used the TypeForm field, only one value appears. We inject a specific icon (Process) for all entities. For injection, a simple drag and drop will suffice.
-Connect Next to go to step 4.
In step 4, the mapping must be done to link the units to each other.
-In the list that appears, we choose to connect using the column (space 1).
-In the next space (2), select the field that identifies the relationships. For our model, the Parent field is used to visualize relationships.
-Space 4 (relationship identified by the mapped column) makes it possible to edit the direction of the arrows between the entities (from the subsidiaries to the holding company, or from the holding company to the subsidiaries). By default, select Previous step.
-It must then select the delimiter (4). Our data is separated by commas, so we choose commas.
The label space of the connector (5) makes it possible to display information directly on the arrows between the units. Our business need, linked to organizational charts, assumes that this information is capital ownership rates. We will inject the Total Detained field.
Click Finish. The generation will be done automatically.
If you want to make some formatting (in order for the visual to be exactly like ours, at the top, contact us.
Click Save, and then select a Microsoft Cloud source (SharePoint, OneDrive) to publish your organization chart.
Once the document is saved, copy the SharePoint URL of the document (see image below).
The last step is in Power BI.
-Open Power BI Desktop or Power BI service and import the Visio Custom Visual
(If you don't know how, please visit this link :)
-Once the report is open, click the down arrow on the Field Mapping banner (see screenshot)
You now have in Power BI a 100% custom organization chart !
The whole Tutorial in 2 videos :
Tank you for following this tutorial. We hope you enjoyed it.
Please don't hesitate to contact us for any technical issue regarding Power BI & Visio integration.
Augustin de la Fouchardiere
More information :