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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
Community Champion
Community Champion

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!:
DAX For Humans

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.

 

Anonymous
Not applicable

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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