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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
neldarov
Frequent Visitor

Reading query/table using R script

I am trying to read one of the query output/table using R inside script box: 

x <- table1$"Col1"

I get this error message: Details: "ADO.NET: R script error. Error: object 'Wells' not found Execution halted

 

Can someone tell me how to read it?

3 REPLIES 3
v-frfei-msft
Community Support
Community Support

Hi @neldarov ,

 

Have you run the R script in R Studio and checked if it works well?  BTW, did you follow the online document?

https://docs.microsoft.com/en-us/power-bi/desktop-r-scripts

 

The above error could be caused by incorrect syntax in the R script, could you please share some sample data and R script so that we can try to reproduce?

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

You did not get the question at all...

The data is inside Power BI, as a query output. How can I share it with you?

Outside Power BI dataset or data assignment works of course, that does not mean anything, regarding my question.

Did you read my post carefully? 

Power Bi has its own queries like a table. I need to assign them as a dataset. I cannot do it via R scrip. If you know please write the answer.

 

The documentation is too simple. Thanks for that.

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.