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! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |