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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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