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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
IlikePBI
Frequent Visitor

Using Python in Power BI without Personal Gateway

Hello

I need to know if :

1) we use a data source from Cloud (Snowflake, Azure SQL...), can we use Python in Power BI without using the Personal Gateway?

2) Is it possible to use python in power bi with the Enterprise gateway (without the personal one)?

Thank you so much for your help,

1 ACCEPTED SOLUTION

Yes! Python as a visual doesn't need a Personal Gateway. That's only for transformations.

Just be sure to read the limitations for building visuals at the cloud. You can only use the libraries listed at this doc: https://docs.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support

I hope that helps,


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

Happy to help!

LaDataWeb Blog

View solution in original post

3 REPLIES 3
ibarrau
Super User
Super User

Hi IlikePBI. Yes you can connect cloud sources and use Python for transformations. You will need a VM with a Personal Gateway. The Enterprise gateway won't work with python.
I wouldn't recommend doing that at all. You would be download cloud source data process the python and the upload it again. It's a complete waist of dataflow. I don't think you have transformations that can't be solve with power query:

https://blog.ladataweb.com.ar/post/616019888350314496/power-query-pandas-and-sql-to-m

If you really need to use python you can even create an azure function to transform data from the source and the connect that to PowerBi to keep everything in the cloud.

I hope that helps,


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

Happy to help!

LaDataWeb Blog

Thank you ibarrau for your answer.

We want to use Python for visual matters and not data transformations. We need to replicate some "Data Science" related visuals that are not available in PBI.

Is there a way to use Python visuals without needing the Personal Gateway?

Thanks in advance,

 

 

Yes! Python as a visual doesn't need a Personal Gateway. That's only for transformations.

Just be sure to read the limitations for building visuals at the cloud. You can only use the libraries listed at this doc: https://docs.microsoft.com/en-us/power-bi/connect-data/service-python-packages-support

I hope that helps,


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors