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
Anonymous
Not applicable

Scheduling data refresh for python script data source

Hello Guyz,

I created  this report with a python script which extracts data from a mongodb using an aggregation query, I have successfully pulished the report to the PowerBI premise server which is what we cureently have.

But I noticed the report is not refreshing when I view it, as the last refresh datetime is not changing. I read from some articles out there that data refresh only happens when you view the report, which I did and but last refesh time is not changing.

 

I will greatly appreciate your contribution on how to get this report to refresh.

 

Thank you.

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

did you create a personal gateway, and did you set up a refresh schedule?

View solution in original post

Icey
Community Support
Community Support

Hi @Anonymous ,

 


 

I have successfully pulished the report to the PowerBI premise server which is what we cureently have.

 


Do you mean "Power BI Report Server"? But to my knowledge, Power BI reports with Python scripts or visuals can't be saved to Power BI Report Server currently.

Reference:

Comparing Power BI Report Server and the Power BI service - Power BI | Microsoft Docs

 

So, in fact, you publish the report to Power BI Service, right?

 

If so, please check if you have installed Personal Gateway and configured scheduled refresh correctly.

 

Reference:

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

Configure scheduled refresh - Power BI | Microsoft Docs

 

 

 

Best Regards,

Icey

 

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

3 REPLIES 3
Anonymous
Not applicable

The report was save to Power BI Report Server, I just read from the comparism between Power BI Service and Power BI Report Server, save and refesh functionality is only achiveable by Power BI Service. 

 

I'II route the process through a network drive 

 

Thanks guyz.

Icey
Community Support
Community Support

Hi @Anonymous ,

 


 

I have successfully pulished the report to the PowerBI premise server which is what we cureently have.

 


Do you mean "Power BI Report Server"? But to my knowledge, Power BI reports with Python scripts or visuals can't be saved to Power BI Report Server currently.

Reference:

Comparing Power BI Report Server and the Power BI service - Power BI | Microsoft Docs

 

So, in fact, you publish the report to Power BI Service, right?

 

If so, please check if you have installed Personal Gateway and configured scheduled refresh correctly.

 

Reference:

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

Configure scheduled refresh - Power BI | Microsoft Docs

 

 

 

Best Regards,

Icey

 

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

lbendlin
Super User
Super User

did you create a personal gateway, and did you set up a refresh schedule?

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.