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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
TViljoen
Regular Visitor

Enterprise Gateway ERROR R Code

Hi Im having trouble setting up my Gateway (NOT Personal)

 

So I want other Power BI Users to be able to Refresh the Semantic model as they see fit - so i want to use the Enterprise and enable them to refresh the data using the server as the processor.

 

The Problem: I run R code in my Semantic model and i cannot map this to the enterpise 

TViljoen_0-1721306235071.png

Does anyone know how to make it sothat this will work?

 

Thanks!

 
 
1 ACCEPTED SOLUTION
djurecicK2
Super User
Super User

Hi @TViljoen ,

 R code requires a personal mode gateway. Maybe you could set up a scheduled refresh on the model?

 

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-r-in-query-editor

 

To schedule refresh of your R visuals or semantic model, enable scheduled refresh and install an on-premises data gateway (personal mode) on the computer containing the workbook and R. You can't use an enterprise gateway to refresh semantic models containing R scripts in Power Query.

View solution in original post

1 REPLY 1
djurecicK2
Super User
Super User

Hi @TViljoen ,

 R code requires a personal mode gateway. Maybe you could set up a scheduled refresh on the model?

 

https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-r-in-query-editor

 

To schedule refresh of your R visuals or semantic model, enable scheduled refresh and install an on-premises data gateway (personal mode) on the computer containing the workbook and R. You can't use an enterprise gateway to refresh semantic models containing R scripts in Power Query.

Helpful resources

Announcements
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.