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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors