Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I am working on a report. I should get some data export from Power Query via R script.
I am using a code of write.table.
But, I am getting error: DataSource.Error: ADO.NET: R script error.
Can you help me with a sample code for csv or xlsx?
Thank you!
Gozde
Solved! Go to Solution.
You should do it in R visual to execute your "export data" R script. Make your install proper packages and assign permission to those packages on file. For more details, please refer to article below:
Export dataset into a file from Power BI Desktop using R script
Regards,
You should do it in R visual to execute your "export data" R script. Make your install proper packages and assign permission to those packages on file. For more details, please refer to article below:
Export dataset into a file from Power BI Desktop using R script
Regards,
Thank you very much 🙂
It solved my problem! I already installed the packages and R. However I should go Power BI instead of power Query and my directory was totaly wrong!
Best regards,
Gozde
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
6 | |
4 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
3 |