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
MatheusCezar
New Member

Dataformat.Error: We couldn't convert to Number

DataFormat.Error: Não foi possível converter para Number. Detalhes: 010002-1
I just keep getting the error with this tipe of number
 
1 ACCEPTED SOLUTION
Aron_Moore
Solution Specialist
Solution Specialist

Not sure what your question is.

 

That error, without knowing any spanish, I'm guess says it can't convert the format ####-# to a number.

 

Depending on what results you neeed a couple of options -

Keep it as text

Somehow format the column to get rid of the dash and then format as number

View solution in original post

6 REPLIES 6
Aron_Moore
Solution Specialist
Solution Specialist

Not sure what your question is.

 

That error, without knowing any spanish, I'm guess says it can't convert the format ####-# to a number.

 

Depending on what results you neeed a couple of options -

Keep it as text

Somehow format the column to get rid of the dash and then format as number

I dont know what i did but putting it to text format worked , so thanks

Anonymous
Not applicable

What type of data you have in the source ? are they numeric? Are you trying to change from some other data type to Numeric ?

 

Thanks

Raj

They came as numbers from excel. I tried editing them to text in excel also, but it didnt solve. These numbers when they came without the "-" they recognize normally im Bi.

How do i solve it?

Hi.

The error is caused because you have a "- " on the field (010002- 1). Power Bi cannot convert that cell to number. You should take an action to solve this. For example, you can split the cell on two columns separated by "- ". Then you can convert to number.

 

The convertion depends on what are you looking for this column.

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

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.