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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.