Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I am trying to imput several data.tables through R but I keep running into this error.
I have no idea what is causing it, since none of my data imported into the R script has a "Total" column, nor do any of the outputs. I removed them all, but the issue still persists.
Anyone have a solution?
As you said, you imported "several" data.tables, it's only supported to get one dataset each time from any query or script when retrieving data. So make sure your R script return only one result set.
Regards,
I was able to import all 4 data tables in one data pull.
The script worked fine when copy and pasted into the pop-up window rather than running "source(...)"
This seems to be a bug.
I am in the same situation ... Could you tell me what do you reffer with " worked fine into the pop-up window rather than running "source(...)""?
Normally to load data I used Get data > Other > R script
Thanks in advance!
Could you attach a screenshot? It might provide a little more context as to what's causing the problem.
Cheers,
George.
The Error message
Output
There are 4 output tables. I could easily combine them with a 5th column with an identifier value. The error occurs before the script executes.
90% of the input data are used in other scripts that import on other scripts without error, so I know it isn't those.
The only other table does not have a "Total" column.
The script executes perfectly fine when sourced in in RStudio.
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 84 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |