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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors