Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi,
I'm trying to use RODBC connecting sql server to pass parameter into table through PowerBI. It worked in desktop, however after published into PowerBI Service, it showed Script Runtime Error. I have confirmed from the Microsoft document that RODBC package is supported in the PowerBI service. I have tried many methods to solve it, such as using personal gateway, connect odbc as one datasource, but none of them have been successful. Apprecieate your advice on how to get this issue resolved or any work-around, thanks.
Solved! Go to Solution.
I‘ve submitted a ticket and received a response. When the R script attempts to connect to the data source, it initiates a network request. However, network requests from R scripts are prohibited in Power BI service, so it is not possible to connect to the data source and pass parameters through the R script.
Hi @MaggieS ,
Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or if you are still confused about it, please feel free to let me know.
Best regards,
Community Support Team_Binbin Yu
I‘ve submitted a ticket and received a response. When the R script attempts to connect to the data source, it initiates a network request. However, network requests from R scripts are prohibited in Power BI service, so it is not possible to connect to the data source and pass parameters through the R script.
You must use a personal gateway, the gateway must be running, and the required packages must be installed on the PC where the gateway is running.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.