I have a Power BI dashboard that uses multiple excel files stored in Onedrive as a dataset and day before yesterday got the following error while refreshing the data set -
DataFormat.Error: The input couldn't be recognized as a valid Excel document.
Details: [Binary]
I have a Power App that is connected to these excel files as a data sources. Yesterday all of a sudden started getting the following error in one the screen which has a submit form operation -
Network error when using patch function: the requested operation is invalid on SubmitForm
The Submit Form operation is just taking the inputs from the UI elements and inserting in the excel file and no patch function is used explicitly.
When the Power BI issue occurred, I had manually corrected the data in excel file and saved it. Post that the Power BI issue got fixed but the Power App issue cropped up.
Based on the following link, the excel file is corrupted, even though I am still able to open it -
Since the excel file was saved in OneDrive, I had reverted it to a point where the app was working. Then the Power App issue was fixed, but again started getting the issue in Power BI.
Thus, not able to figure out how to make Power App and Power BI work simultaneously which was happening earlier and at the same time fix the corrupted excel file.