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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Python in Power BI Service

Hi everyone,
 
Can anyone tell me what our options are to run Python visuals in Power BI in an Enterprise production environment? I'm reading about the Gateway which is only supported in Personal mode. It seems that this is a blocking limitation because I assume running the Personal Gateway as an application cannot be left unattended on a server. But I can determine what the actual use of having this Python visual is if you can't really use it unless you use a personal gateway.

In our case we have some custom python libraries performing calculations on financial data based on several variable parameters which can be edited by our end-users.
 
If it is indeed not possible at this moment, are there any plans for supporting the Enterprise Gateway for Python Visuals support? 
 
Thanks,
Rémy
3 REPLIES 3
Greg_Deckler
Super User
Super User

Hmm, this is an interesting question because I'm not sure that the gateway actually plays any part what-so-ever in Python visuals. Python based queries and Python steps in queries but not sure it comes into play for a visual. In fact, I am fairly certain it does not. Now, the problem I see with that for you is that this then means that you could never bring your custom libraries to bear because there is no support for that so you would have to embed the entire custom library or the functions you need within the Python script itself.

 

I could be mistaken.



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!:
Power BI Cookbook Third Edition (Color)

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

Thanks Greg, most likely the visuals themself will work without a gateway. But indeed we do need to run our own custom libraries.
I've never tested if running a Gateway in personal mode is suitable for a production environment, but I guess it is not.

 

Were you able to test if Python visuals work on enterprise gateway? Are there any other options?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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