A professional diagramming tool that helps users visualize complex information through easy-to-understand diagrams.
Hello Hana K
I’m Adeyemi and I’d be happy to help you with your question. In this forum, we are Microsoft consumers just like yourself.
Power BI does not directly support importing Visio diagrams with VBA code embedded in them. When you import a Visio diagram into Power BI, it becomes a static image and loses the interactive features and functionality associated with VBA.
Power BI is primarily designed for data visualization and analysis, and while it can display static images, it does not have built-in support for running VBA code or interacting with Visio diagrams in the same way as the standalone Visio application.
If you require interactive functionality or dynamic highlighting of connected shapes and connectors based on user interactions, you may need to consider alternative approaches. One option is to export your Visio diagram as a static image and use it as a background image in Power BI. You can then use Power BI's native visualizations and interactivity features to achieve some level of highlighting and interactivity.
Alternatively, you could explore using other custom visualizations or JavaScript-based libraries within Power BI that offer advanced diagramming and interactive capabilities. These may require additional development efforts compared to using VBA within Visio, but they can provide more flexibility in terms of integrating interactive diagrams into your Power BI reports.
I hope this helps.
Kind regards, Adeyemi