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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RenaCel
New Member

DataFormat.Error: We couldn't convert to Number. Details:...

Hola amigos, tengo un problema al momento de conectar datos del Power BI a un archivo Excel.

El archivo excel es una tabla de articulos, y tiene codigos numericos y alfanumericos, los codigos alfanumericos no los reconoce el Power BI. Ejemplo

 

Mi archivo excel

 excel.png

Como se muestra en el power BI

pbi.png

 Por favor alguien que pueda ayudarme.

1 ACCEPTED SOLUTION

Hi @RenaCel,

I make a test using your sample file.

Firstly, when importing data from Excel to Power BI Desktop,  please choose "Edit" in  the following screenshot to load data.
1.PNG

Secondly, delete the "Change Type" step in "APPLIED STEPS" .
2.PNG


Thirdly, click "Close and Apply", you will be able to see that the data are imported properly into Data View.
3.PNG

Thanks,
Lydia Zhang

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.

View solution in original post

5 REPLIES 5
v-yuezhe-msft
Employee
Employee

Hi @RenaCel,

Firstly, this is English forum. Please help to post your question in English format.

Secondly, when do you get the above error message” We couldn't convert to Number”? Based on my test, there are no issues when importing your sample data to Power BI Desktop. However, if we try to convert the COD_ITEM column to numeric type column, the error message will occur, this is an expected behavior. We are not able to convert text-based string to number, but we can change text-based number columns from Text to numeric type.
1.PNG2.PNG
3.PNG

Thanks,
Lydia Zhang

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.

Hi Lydia, The problem is when in a column has numerical and alphanumerical data. Attachment test file File

pbi1.png

 

Thanks.

Renatto

Hi @RenaCel,

I make a test using your sample file.

Firstly, when importing data from Excel to Power BI Desktop,  please choose "Edit" in  the following screenshot to load data.
1.PNG

Secondly, delete the "Change Type" step in "APPLIED STEPS" .
2.PNG


Thirdly, click "Close and Apply", you will be able to see that the data are imported properly into Data View.
3.PNG

Thanks,
Lydia Zhang

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

This solution is the correct! Thank a lot 

Hi Lydia, thanks!!! Smiley Very Happy

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors