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

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

Reply
MaggieS
Frequent Visitor

R visual error in powerbi service

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.

1 ACCEPTED 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.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

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.

lbendlin
Super User
Super User

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.

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors
Top Kudoed Authors