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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
glenyj
Regular Visitor

Holoviews Radial Heatmap won't Display in Power BI

Hello,

 

I am trying to add a custom Python visualization to a report.   I'm trying to add a radial heatmap from holoviews, which works perfectly in Jupyter Notebook.  When I try to do it in Power BI I get an error that no image was created.  Below is my code. Can someone help me resolve this issue please?

 

# The following code to create a dataframe and remove duplicated rows is always executed and acts as a preamble for your script:

# dataset = pandas.DataFrame(time, date, steps)
# dataset = dataset.drop_duplicates()

# Paste or type your script code here:
import holoviews as hv
from holoviews import opts
hv.extension('bokeh')
from bokeh.plotting import show


opts.defaults(opts.HeatMap(radial=True, width=800, height=800, tools=["hover"]))
hv.HeatMap(dataset, ["time", "date"])
 
1 ACCEPTED SOLUTION
v-yajiewan-msft
Community Support
Community Support

Hi @glenyj,

As far as I know, Power BI does not support dynamic Holoviews radial heatmap because Power BI's Python environment might not fully support interactive visualizations directly, especially those relying on JavaScript libraries like Bokeh.

 

Test result for your reference:

vyajiewanmsft_0-1721204282731.png

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yajiewan-msft
Community Support
Community Support

Hi @glenyj,

As far as I know, Power BI does not support dynamic Holoviews radial heatmap because Power BI's Python environment might not fully support interactive visualizations directly, especially those relying on JavaScript libraries like Bokeh.

 

Test result for your reference:

vyajiewanmsft_0-1721204282731.png

Best regards,

Joyce

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

That's unfortunate.  Thank you for your help!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.