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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.