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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
giovanni_figuei
Frequent Visitor

Error when importing spreadsheet from excel

Good morning.

Im trying to import a spreadsheet from excel to Power BI but im getting this error in some cells of a determined column:

DataFormat.Error: We couldn't convert to numbers.

The column has ID codes wich some of them are made of letters and numbers and others made of just numbers the problematics one are the ones made of letters and numbers, i have tried to convert the whole column to text both in excel and power bi and nothing changed.
Heres the problematic column and the type of data im dealing with 


giovanni_figuei_0-1641471387894.png 

giovanni_figuei_1-1641471489980.png

 

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@giovanni_figuei , Once power bi load data, In Power Query(Data transformation) there will step where it does type conversion. Click on that step and change the data type to text. if it asks to overwrite the step do that. So that it never become number

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@giovanni_figuei , Once power bi load data, In Power Query(Data transformation) there will step where it does type conversion. Click on that step and change the data type to text. if it asks to overwrite the step do that. So that it never become number

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks, you helped me a lot.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.