Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Failed to save modifications to the server. Error returned: ' OLE DB or ODBC error:

error message.JPG

 

I am getting the following error message when I'm trying to load an xlsx. file into PowerBI. I've read solutions to similar problems and tried them and haven't been able to get it to work. I tried trimming and cleaning, changing data types, checking for errors etc. Nothing seems to work. Any ideas?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I've figured out the solution. The date column was formatted as text in my source. When I changed the data type in PowerBI to date, for some reason it wasn't working properly. When I changed the data type in my excel source data, I had no issues.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

An alternative, as the accepted solution will not work for those who cannot modify the source file.

 

  1. On sourcing the data, choose type text for the date columns instead of type date (I do this in Advanced Editor changing "type.date" to "type.text")
  2. Navigate to the 'Changed Type' step in the Applied Steps bar on the right of the page.
  3. Select the date column, which is currently formatted as text
  4. Use Data Type button in Transform tab to convert column to date
  5. If prompted, approve Insert Step
  6. In Change Column Type pop-up, select 'Add New Step' (this is not the default option)
  7. Click Replace Values drop down in Transform tab and select Replace Errors then type null into dialogue box OR Click Remove Rows drop down in the Home tab to Remove Errors
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Anonymous ,

Glad to hear the issue is solved, I will close this issue.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I've figured out the solution. The date column was formatted as text in my source. When I changed the data type in PowerBI to date, for some reason it wasn't working properly. When I changed the data type in my excel source data, I had no issues.

@v-yuezhe-msft 
I'm facing the same issue. Can't seem to resolve it. I don't see any issues with data type. My source is Google Big Query. 
I'm failing to referesh an existing report and when i try to create a new file and import the same data source its showing this error.
"Failed to save modifications to the server. Error returned: ' OLE DB or ODBC error:" And its only happeneing with one view.

Screesnhots of error when i try to refresh. Its so frustrating when there are no diagnostic steps.Screen Shot 2020-10-08 at 10.37.14 AM.pngScreen Shot 2020-10-08 at 12.19.15 PM.png 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.