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
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
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