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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Victormar
Helper V
Helper V

Refresh semantic model containing Python scripts

Hello community,

We are trying to work with a Report that contains tables created using Python scripts, as we are getting them from an API. We face the problem when trying to refresh the semantic model in the service. We've heard that is not supported, or that maybe we can use a personal gateway.

Any experience with it, or alternative options?

 

Thanks for you time and help 🙂

2 REPLIES 2
Victormar
Helper V
Helper V

thanks for your reply. Do I need to do something else aside from that? I have my on-prem gateway installed and selected in connections of the semantic model. The report combines dataflows and the python code.

 

It's not working unfortunately.

mohitkumawat
Super User
Super User

Hi @Victormar ,

In the above scenario, we can achieve this only through Gateway 

The data needs access to Python for visuals to be updated. The other steps are the following steps:

Enable scheduled refresh for the dataset. To enable scheduled refresh for the workbook that contains your dataset with Python scripts, see Configuring scheduled refresh, which also includes information about Personal Gateway.

Install the Personal Gateway. You need a Personal Gateway installed on the machine where the file is located, and where Python is installed. The Power BI service must access that workbook and re-render any updated visuals. For more information, see install and configure Personal Gateway.

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.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.