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
MeghanDeWet
Frequent Visitor

Personal Gateway for R script

Hi there,

 

I have used an R script in my BI Dashboard, published it and set an auto refresh with a personal gateway.

 

The personal gateway is on and ready to use, the auto refresh works with no error but the column that refrences the R code does not show the correct data. The column is meant to show Trues and falses but it only shows False. 

 

When I refresh in desktop it works perfectly and the column displays the correct info.

 

I think I am missing something in the personal gateway or in the actual R code but I have read everything I can find on this and just can't seem to get it right. I am new to using R in BI so the whole process has been trial and error but it is just odd that it works in desktop but not service. 

 

The R code is used as a step in one of my tables in query editor, this is how it starts off:

new_dataset <- dataset
new_data <- data.frame(new_dataset)
HS <- new_data$"US_HTS_Code__c"
COO <- new_data$"Country_of_Origin2__c"
new_data$ADDFlag1 <-

 

Any guidance will be greatly appreciated, thanks so much!

4 REPLIES 4
DmitryKo
Helper IV
Helper IV

Gateway is cloud component, seems to be a wrong forum.

@DmitryKo what exactly is the forum called? Can't seem to find one that realtes to "Cloud Component"

gateway as architectural concept only applies to power bi service, cloud based and less secure usage model. It has nothing to do (and cannot be used) with Power BI Report Server.

Thanks for letting me know @DmitryKo I will repost on the correct forum

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