Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
bub0
New Member

Issue with visualization of pm4py inside of Python visual

Dear community,

 

I want to use python visuals inside a power BI report. In particular, I want to test the functionality of the library pm4py.

With the use of pm4py library I build a process model that can be visualized, however when I try to display the result it is shown outside of the report as a new image. I want the process flow to be inside of the visual in my report.

 

Could anyone help with this matter? What would be the reason behind it?

Other usage of python that is based on other libraries such as pyplot works well for me.

1 ACCEPTED SOLUTION
bub0
New Member

I have found a solution today with the function matplotlib_view(gviz). Now I have the problem, that the process map is shown very small with huge white borders.

View solution in original post

2 REPLIES 2
Perb
New Member

Will you please share the last lines of your power Bi code for get the pm4py graph img to Power Bi via gviz ?

 

bub0
New Member

I have found a solution today with the function matplotlib_view(gviz). Now I have the problem, that the process map is shown very small with huge white borders.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.