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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Chipsnump
Advocate I
Advocate I

[DataSource.Error] Microsoft SQL: Error converting data type nvarchar to nume

Hi,

I've tried several times to connect to SQL, but everytimes try to close & apply the power query it shows the errror like this:

Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] Microsoft SQL: Error converting data type nvarchar to numeric.. '.

 

how could we solve this issue?

1 REPLY 1
tharunkumarRTK
Super User
Super User

@Chipsnump 

 

I think the column data types are not accurate. To find the errors you can multi select all the columns in power query and click on keep errors on the top ribbon then you will be able to find the values which are causing this issue. Choose the correct data types for each column and try again.

 



Need Power BI consultation, hire me on UpWork .


If the post helps please give a thumbs up



If it solves your issue, please accept it as the solution to help the other members find it more quickly.




Tharun



Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.