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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors