This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 3 | |
| 3 | |
| 2 |