Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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,
Solved! Go to 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,
Happy to help!
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,
Happy to help!
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,
Happy to help!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
35 | |
26 | |
26 | |
25 |
User | Count |
---|---|
62 | |
52 | |
30 | |
25 | |
23 |