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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.