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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I already have my dataflow working just right. Now I'm just trying to automate my dataflow and here is where the problem starts, and I know when exactly happens. First of all, both my version of PowerBi Desktop and the Gateway are updated.
As I said before everything works fine as PowerBi collects the info from an .xslx and creates my dashboard. But this .xlsx archive PowerBi uses is generated by R. After generated by R, if I open the archive and I delete a blank column (it doesn't modifies absolutly nothing) and then save and close the .xslx, magically when I manually update in PowerBi is successful (and everything is completely right). But if I run my R script, creating the archive (it's an Excel file with multiple spreadsheets), and just go to PowerBi to update my .pbix, it always fails with the next message "The input couldn't be recognized as a valid Excel document".
My .xlsx doesn't have any kind of hyperlinks, it´s only numbers and letters like stats, with no reference to links of websites.
Does someone know a solution for this?
I don't know what else to do, please help.
Hi @AnalyticsM1 ,
Maybe there is something wrong with your R script, please check. And make sure that creating excel threads in your R process is followed by reading excel threads.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!