cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

R Script Issues

errorpowerbi.PNG

What does this error even mean? I am trying to run a simple R script that runs on other Power BI datasets, but here gets caught on something. I believe it's a data type issue for some column, but was hoping someone might shed light on the error.

2 REPLIES 2
Highlighted
Microsoft
Microsoft

Re: R Script Issues

ASCII character 39 is the apostropy character.  Are you sure the field you are using is a numeric field and you don't have any ' values in your data? 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Highlighted
Frequent Visitor

Re: R Script Issues

That's interesting that is what the error is saying, given that I'm not actually using any other columns. I'm running a short R Script that inserts a numeric column index based on some conditionals. The error occurs though regardless of what R Script I try to run, even:

df <- dataset

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors