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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
jmarcrum
Helper II
Helper II

publish to web does not currently support python visuals

Hi everyone -

 

I ran into this error earlier today trying to publsih a python visual to web.  Does anyone know what's going on here?  I saw this article in a recent release and thought this should have been taken care of by now?  If not, is there a wordaround for this?

 

https://powerbi.microsoft.com/en-us/blog/python-visualizations-in-power-bi-service/

 

Thanks in advance for your help!

 

11.png

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @jmarcrum ,

The articlce you have referred is related with publishing from power bi desktop to power bi service that support Python visuals intead of publishing to web from power bi service. Please refer the difference between them:

  1. Publish from power bi desktop 
  2. Publish to web 

As your posted picture shows, the Python visual and the R script viusal are not supported in publishing to web currently. Perhaps you can submit the requirement to ideas to help us improve power bi and add your comments there to make this feature coming sooner: https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Best Regards,
Yingjie Li

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

9 REPLIES 9
v-yingjl
Community Support
Community Support

Hi @jmarcrum ,

The articlce you have referred is related with publishing from power bi desktop to power bi service that support Python visuals intead of publishing to web from power bi service. Please refer the difference between them:

  1. Publish from power bi desktop 
  2. Publish to web 

As your posted picture shows, the Python visual and the R script viusal are not supported in publishing to web currently. Perhaps you can submit the requirement to ideas to help us improve power bi and add your comments there to make this feature coming sooner: https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Best Regards,
Yingjie Li

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

Greg_Deckler
Community Champion
Community Champion

Don't use Python visuals?

 

Why was it necessary to use a Python visual? Is there no other visual either default or in the App store that could be used?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hi Greg, there isn’t a visual that will find the shortest path between two nodes in a network chart (to my knowledge). Python’s networkX library will do it. I posted about it in another post that Tom Marten and yourself commented on.

If you know of a visual in the App Store that will find the shortest path or a way for me to format my data source that will allow for that kind of visual, I would like to know what it is.

If I can provide you a csv dump that will show team 1 and team 2 and the shortest path (in an array), could you do it? If you don’t respond back to this I understand. Just wanted to answer your question fully.

Thank you!

Sure, I'll take a crack at it @Anonymous . It sounds similar to a Transitive Closure issue. https://community.powerbi.com/t5/Quick-Measures-Gallery/Transitive-Closure/td-p/783828 I bet there is a way to do it.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

 

That would be fantastic Greg!  I have a couple of days left to figure out a solution, if you have the time.  Below is a link to the csv file.  It's very simple.  Team1, Team2 (Opponent), and the shortest path between the two.

 

Thank you in advance!

 

https://www.dropbox.com/s/ohw6h1jh928hrba/mark_ncaa_paths.csv?dl=0

Seems like this is missing some critical information or I am not understanding the data correctly. Is the Path column in the data what you are trying to calculate or is that what you are trying to minimize for each pair of teams? If it is the first one, seems like I would need the data on the starting positions and divisions of the teams in the tournament, right? @jmarcrum 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler 

 

Ah, I attached a link to the completed file (after I ran it through networkx in python).  I think the file you are looking for is below.  It's my original file.  I apologize for the confusion.

 

Thanks again Greg!

 

https://www.dropbox.com/s/y34cb6rxofq3fhh/mark_game_edges.csv?dl=0

@jmarcrum - Another crazy thought, can you just put the Python code for shortest path into a Query Step? Then you wouldn't need to use a Python visualization.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Great, another question @jmarcrum why all the duplicate rows?


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.