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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors