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

R Script and auto refresh

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. 

 

Any guidance will be greatly appreciated, thanks so much!

2 REPLIES 2
TomMartens
Super User
Super User

Hey @MeghanDeWet ,

 

assuming that the personal gateway is installed on a different machine the same versions of R and the same version of the packages must be installed on the gateway machine.

 

Hopefully, this helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Hi @TomMartens, thanks for your response, I really appreciate it!

 

The personal gateway is on the same machine as the dashboard and R script...Any ideas what could be going on?

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.