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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.