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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Python Script is not available in my Power BI Desktop

Hi,

 

I am not able to find Python Script option in my Power BI desktop. I tried reinstalling the latest version, yet again there is no option for python in Power BI desktop. I checked in option settings as well, it is not there over there also? Please let know how to get the option of running python script in Power BI.

 

Regards,

PKR

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

Hi @Anonymous

It’s a preview feature. Be sure to enable it in the Options settings under the file menu.

Go to options & settings --> options --> preview-functions. Select Python.

After restart you can add python scripts.

1.jpg

 

Then Get data->Other, select Python script

2.png

 

More details here

https://docs.microsoft.com/en-us/power-bi/desktop-python-scripts

 

Best Regards

maggie

 

View solution in original post

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

Hi @Anonymous

It’s a preview feature. Be sure to enable it in the Options settings under the file menu.

Go to options & settings --> options --> preview-functions. Select Python.

After restart you can add python scripts.

1.jpg

 

Then Get data->Other, select Python script

2.png

 

More details here

https://docs.microsoft.com/en-us/power-bi/desktop-python-scripts

 

Best Regards

maggie

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors