Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |