A little backgroud before I get into the issue. I use SAS to create excel files and in turn the excel files load into PowerBI. I'm trying to automate the process, so I run a batch file to run my sas code, and use the on-premises gateway to have the excel file auto update. This process works fine except for importing a brand new SAS created excel file.
It seems that the SAS excel file must be missing some behind the scenes code and PowerBI gives me the following error when trying to import: Unable to Connect: "Core Properties part: Text data of XSD type 'DateTime' was expected. Line 9, position 44."
I know that it has something to do with the excel product directly create from SAS. If I open the excel file, and just manually resave it works. Problem is that defeats the automation goal I have. I'll be looking into the SAS part as well, but is there a PowerBI side solution as well?
Thank you in advance for any advice or help y'all could provide!