Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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
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.
| User | Count |
|---|---|
| 17 | |
| 11 | |
| 11 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 39 | |
| 36 | |
| 36 | |
| 35 | |
| 20 |