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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello, friends I have this script in R
Solved! Go to Solution.
I need .xls, no txt, because with the opction export data, export a csv file, but my client need a XLSX. y just find the solution, Thanks.
Hi @israeldavid76 ,
So the full R-code looks like this:
require(gdata)
write.table(trim(dataset), file=”your filepath & filename.txt”, sep = “\t”, row.names = FALSE)
plot(dataset);
Please refer to
Use R to export data from Power BI – The BIccountant
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I need .xls, no txt, because with the opction export data, export a csv file, but my client need a XLSX. y just find the solution, Thanks.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 74 | |
| 39 | |
| 26 | |
| 24 |