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

R Script Not Working on Auto Refresh

I have a senerio that I need a daily snapshot view each day for a report I produce in Power BI. Since there's no way to get a snapshot in Power BI at this time, I have written an R Script that filters the data to the snapshot I need and exports it to a folder, saving it with the current date. I then have Power BI look at the folder and combine all the files in the folder to get the report I need. When I publish this to the service and set up my auto refresh with my personal gateway, everything refreshes correctly except that R Script does not export the new file. Therefore I'm not getting the snapshot I need automatically (but again, the refresh doesn't fail). Is there anyway to make this R Script work automatically upon a scheduled refresh? Thanks! 

1 REPLY 1
Anonymous
Not applicable

HI @Anonymous 

Apologies, if I'm misunderstanding your requirement; however, wouldn't the Subscription feature allow you to Snapshot the report each day?

 

Subscriptions.png

 

Regards, Sduffy

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.