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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Error while schedule refresh -

Hi,

 

I am running an R script that pulls data from SQL server, manipulates it etc. I am using this R script as a data source for my report. I installed a gateway (personal mode) as well. However, when I try to set scheduled refresh up it throws me this error. Please suggest any workarounds.

 

Thanks,

HV

 

Capture.PNG

3 REPLIES 3
GilbertQ
Super User
Super User

Hi there

Could you confirm that the R packages you are using is supported by the Power BI Service and Gateway?

https://docs.microsoft.com/en-us/power-bi/service-r-packages-support




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Anonymous
Not applicable

Hi @GilbertQ 

 

Yes, I am using three packages - RODBC, data.table, dplyr. All three are there in the list.

Hi @Anonymous ,

Does everything work fine in Desktop? Refer to the post below, maybe you need to change the version of R:

https://community.powerbi.com/t5/Desktop/R-script-as-data-source-in-Power-BI-Desktop/td-p/685850

https://community.powerbi.com/t5/Developer/Error-when-Refreshing-R-Script-Data/m-p/369255

Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors