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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rigelng1995
Frequent Visitor

Refreshing R Script on Personal Gateway

Hi 

 

I have read a lot of similar posts but none really explaining how to set up it properly. I have created a powerBI file which uses R to transform some of its data in the one of the steps. Everything works fine locally but doesn't work once it is published to PowerBI.com for a scheduled update. The error I get is that the extensionDataSourceKind "R" cannot be added to the gateway. 

 

I have read posts where enterprise gateway doesn't work with scheduled refreshed on R/Python Scripts - So I have installed a personal gateway to the remote server. (The Enterprise Data-Gatway  is also connected to the same remote server.) Both gateways are showing but the R extended datasource is connected to the enterprise data gateway. 

 

The question is how do I get powerBI to recognize/move the extensionDataSourcedKind under the personal data-gateway or have I got the logic of this completely wrong? If so how should I arranged the set up so that I can schedule refresh on this file on powerBI.com. 

 

Any help is appreciated

Thanks

Rigel 

 

Gateway SetupGateway Setup

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@rigelng1995 

 

Follow this step by step to set personal gateway: https://docs.microsoft.com/en-us/power-bi/service-gateway-personal-mode

A post that might helpful: https://community.powerbi.com/t5/Power-Query/Refresh-R-Scripts-with-Personal-Gateway/td-p/434177

Paul Zheng _ Community Support Team
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

2 REPLIES 2
Anonymous
Not applicable

@rigelng1995 

 

Follow this step by step to set personal gateway: https://docs.microsoft.com/en-us/power-bi/service-gateway-personal-mode

A post that might helpful: https://community.powerbi.com/t5/Power-Query/Refresh-R-Scripts-with-Personal-Gateway/td-p/434177

Paul Zheng _ Community Support Team
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
  

amitchandak
Super User
Super User

@rigelng1995 ,

Refer: https://powerbi.microsoft.com/fr-fr/blog/on-premises-data-gateway-august-update/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors