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
rpul
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
Phil_Seamark
Employee
Employee

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!

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