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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
dhorrall
Helper I
Helper I

Using custom Python in PowerBI Service?

 

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?

 

 

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

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

View solution in original post

1 REPLY 1
v-juanli-msft
Community Support
Community Support

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.