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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bcohen
Frequent Visitor

Power BI Auto-refresh with R scripts

I've read several articles on this topic, and it seems that R scripts are NOT SUPPORTED by the PBI Data Flow. Thus, is it seems that auto-refreshing R-dependent datasets is NOT POSSIBLE with PowerBI.

 

My question: is it possible auto-refresh a PBI solution that uses an R-script to get/read data? If so, how is this done on a Personal Gateway?

 

Thanks!

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @bcohen 

To schedule refresh of your R visuals or dataset, you need enable scheduled refresh and install an on-premises data gateway (personal mode) on the computer containing the workbook and R.

Please refer to the following links for specific steps.

Use R in Power Query Editor 

Use personal gateways in Power BI 

Definitive Guide to Power BI Personal Gateway 

Configure scheduled refresh 

Best Regards,
Community Support Team _ Eason

View solution in original post

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @bcohen 

To schedule refresh of your R visuals or dataset, you need enable scheduled refresh and install an on-premises data gateway (personal mode) on the computer containing the workbook and R.

Please refer to the following links for specific steps.

Use R in Power Query Editor 

Use personal gateways in Power BI 

Definitive Guide to Power BI Personal Gateway 

Configure scheduled refresh 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.