Showing results for 
Search instead for 
Did you mean: 
denyschamberlan Frequent Visitor
Frequent Visitor

Python visuals strange sporadic behavior


I have a question regarding Python visuals integration in Power BI.
I wanted to test Python visuals behavior and performance in Power BI Embedded so I decided to first create a very simple sample to start with using matplotlib.pyplot and test what I could come up with. Nothing too fancy as shown below.
I then published the new Power BI Desktop report on a testing Workspace I had previously created on Power BI Online
So far so good... Both Python visuals appeared on report sreen exactly as expected.
I then pushed testing a bit furtherusty and created a new dashboard on which I could integrate both Python visuals
in combination with a "native"  Column Chart visuals and see what I could come up with... 
The Python visuals would appear for a second in a glimpse...
but it soon totally vanished from screen and was replaced by blank content and only a Power BI logo...

Now if I try to run the newly created dashboard in Power BI Embedded, the "native" Column Chart visual tile is displayed on top left, though none of the Python visual tiles are displayed. Only Power BI logos .

For the sake of testing, I added a piece of client code sending captured information in similar alert popups
in response to dashboard tileClicked event.

This action redirects straight to right report... So I assume both Python visual tiles are there allright! 

Now if I click back on "Main Dashboard" navigation button on top left toolbar, the action will bring me back to main dashboard...
Well what do you know!!!? there you are... 
I may repeat the same actions a second time... but this time, I would end up with another display result as shown below... 

Hummmm... Bizarre! I understand the Python visuals option is still in Beta version, still I'm pretty curious what may cause this kind of sporadic behavior... 

Any help on how to deal with this (from someone who experienced the same kind of scenario) would be greatly appreciated.

Thank you for your patience 😉

Helpful resources

New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (3,497)