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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
SickStigma
Frequent Visitor

Help loading Python

Is there a person or service that could help a newby get up and running to load Python on Power BI. 

Any help would be greatly appreciated!

SickStigma

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @SickStigma ,

 

You can run Python scripts directly in Power BI Desktop and import the resulting datasets into a Power BI Desktop data model. From this model, you can create reports and share them on the Power BI service.

Once you upload the .pbix file to the Power BI service, a couple more steps are necessary to enable data to refresh in the service and to enable visuals to be updated in the service. The data needs access to Python for visuals to be updated. The other steps are the following steps:

  • Enable scheduled refresh for the dataset.
  • Install the Personal Gateway.

Use Python in Power BI Power Query Editor - Power BI | Microsoft Learn

 

To run Python scripts in Power BI Desktop, you need to install Python on your local machine. You can download Python from the Python website

Refer to:

Run Python scripts in Power BI Desktop - Power BI | Microsoft Learn

This is the related document, you can view this content:

Python visualizations in Power BI Service | Microsoft Power BI Blog | Microsoft Power BI

Use an external Python IDE with Power BI - Power BI | Microsoft Learn

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi  @SickStigma ,

 

You can run Python scripts directly in Power BI Desktop and import the resulting datasets into a Power BI Desktop data model. From this model, you can create reports and share them on the Power BI service.

Once you upload the .pbix file to the Power BI service, a couple more steps are necessary to enable data to refresh in the service and to enable visuals to be updated in the service. The data needs access to Python for visuals to be updated. The other steps are the following steps:

  • Enable scheduled refresh for the dataset.
  • Install the Personal Gateway.

Use Python in Power BI Power Query Editor - Power BI | Microsoft Learn

 

To run Python scripts in Power BI Desktop, you need to install Python on your local machine. You can download Python from the Python website

Refer to:

Run Python scripts in Power BI Desktop - Power BI | Microsoft Learn

This is the related document, you can view this content:

Python visualizations in Power BI Service | Microsoft Power BI Blog | Microsoft Power BI

Use an external Python IDE with Power BI - Power BI | Microsoft Learn

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.