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

Python visuals strange sporadic behavior

Hi,

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.
Report01.png
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.
Report02.png
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...
Dashboard001.png 
but it soon totally vanished from screen and was replaced by blank content and only a Power BI logo...
Dashboard002.png

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 .
Dashboard003.png

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.

DashboardTileClicked.png
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... 
Dashboard005.png 
I may repeat the same actions a second time... but this time, I would end up with another display result as shown below... 
Dashboard004.png

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 😉

0 REPLIES 0

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.