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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
djurecic
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
djurecic
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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.