This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have been experimenting with using some 'custom' Python code as a data source in Power BI Desktop. This code connects to a Cognos TM1 server, pulls data into a Dataframe, and subsequently into a table in Power BI Desktop. This works fine in Desktop.
My question is, will this work in the PowerBI service if I publish it? Is it possible to refresh the data? How would the service 'know' about the Python libraries I am using that I have installed in my desktop Anaconda Python environement?
Solved! Go to Solution.
Hi @dhorrall
I'm afraid it doesn't support Python in the PowerBI service currently, and it is not possible to refresh data.
a list of Python packages are supported in Power BI Desktop, but they aren't supported in Power BI Service.
Power BI Team are currently looking into how to support this.
Best Regards
Maggie
Hi @dhorrall
I'm afraid it doesn't support Python in the PowerBI service currently, and it is not possible to refresh data.
a list of Python packages are supported in Power BI Desktop, but they aren't supported in Power BI Service.
Power BI Team are currently looking into how to support this.
Best Regards
Maggie
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 8 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 50 | |
| 27 | |
| 24 | |
| 24 | |
| 22 |