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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.