Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
I'm a lot happier creating a script in Pyhton than writing a custom connector in M, python also has the advantages of being able to debug and step through each line of code.
So I wanted to check is there any downside to pasting a long Python script into PowerBI and executing this as opposed to creating a custom connector? Will the server have any issue refreshing it when it's published?
Many thanks.
Solved! Go to Solution.
Python scripts tend to be quite a bit slower than M code.
Also keep in mind that as soon as you say Python (or R) and Power BI Service in the same sentence you are doomed to require a personal gateway.
Ah, so Python scripts require a personal gateway is that right?
If you want to share on the service, yes.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |