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
willclein
Helper I
Helper I

Error converting data type nvarchar to numeric

I'm having trouble importing data sources where I'm getting the above error message. When I import two views from my SQL database (each view is for a separate year), I don't have any issues in Power Query Editor. When I try to append one to the other, I sometimes get the above error. 

 

Specifically:

SQL Error.PNG

 

Both have the same Column Headers and each matching Column has the same Data Type. Alone, they are not showing this error, but when Appended, I get this error. Honestly I'm not really sure what I'm looking for to troubleshoot since neither of the sources shows an error and the above error does not direct me to the culprit.

 

Has anyone else had issues with this that can provide direction?

 

Thanks in advance!

4 REPLIES 4
SqlSam
Regular Visitor

Hi @willclein , I am having this exact same issue:

I'm having trouble importing data sources where I'm getting the above error message. When I import two views from my SQL database (each view is for a separate year), I don't have any issues in Power Query Editor. When I try to append one to the other, I sometimes get the above error. 

 

I even went a step further and explicilty casted the field in question. Everything loads fine in the power query editor, but whenver I try to apply the changes in the report view it bombs out every time with the same error you experienced. Were you able to resolve this issue another way, or do you have a support case w/ MSFT? Thanks

Anonymous
Not applicable

Did you found a way to solve this issue?

Greg_Deckler
Community Champion
Community Champion

You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks! I will check there and create a post. I do have a Pro license so I will also create a support ticket with Microsoft. I'll leave this thread here in case anyone else has had luck resolving this.

 

Appreciate your quick response!

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.