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
Anonymous
Not applicable

Power BI(Web) support with python script as that of desktop?

Hi,

Unlike Power BI desktop only few libraries are supported in Power BI Web right now.

Would there any scope if we can get full support including all libraries (such as tkinter, openxyl,chatterbot etc) in the power bI web?

desktop version is supporting the script and all libraries completely but we dont have this support in App.

please do the needful.

 

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @Anonymous ,

In my opinion, I think power bi service is possible to use all of python functions, but these functions will been blocked and not available on service side for security reasons.
When your python code works on power bi service side, (these code will execute into a sandbox due to security requirement) some of requests will been blocked or ignored because of security reasons or they require additional permissions. (e.g. copy/delete[edit], search/loop folder files[opearte with other folder], access to external datasources[network,port])

Power BI Security

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

1. I understand that there might be some restriction when we ran the python script on Power BI(web) but do you have any solution to this problem?

It would be highly appreciated if you could suggest some solution to execute the script on web like we do on desktop smoothly.

 

2. Also, when i tried to import csv file using code like :

import pandas as pd

dataset=pd.read_csv("Path of the file")

am hitting with an error saying file not found but on the desktop it is working fine.

HI @Anonymous ,

Unfortunately, current power not has any option to enable all python function on service side. Maybe you can submit an idea for this requirement.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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