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! Request now

Reply
Anonymous
Not applicable

Aplhabet and number togetjer - data error

My column contains data in the form of pure numbers - 2658270185 and in the form of alphabet,numeric form - CR35309277

The type of the column is changed to text still it would give me below error:

 

DataFormatError: We couldnt convert to Number

Details:

   CR35309277

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I found the solution. While loading the data, query loads it as an integer , so even if you later convert the type to "text" it still throws the error.

I went in advacned query editor for the first step and changed the type for"integer.64" to "text" by typing it manually.

and then it worked!

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi @Anonymous ,

 

Did you change it to TEXT thru Desktop  or thru Power query editor?

Try changing it thru Query editor. Sometimes it gives an error if we do from Desktop.

You can give a try in your case.

 

Thanks,

Tejaswi

Anonymous
Not applicable

Capture.PNG


@Anonymous wrote:

 

Anonymous
Not applicable

Hi @Anonymous ,

 

when I am trying to do it usign your example I don't see any issue. 

May be I am missing some steps. or will have to look at your dataset.

Capture12.PNG

 

Thanks,

Tejaswi

Anonymous
Not applicable

@Anonymous  My data set is huge, but contains numbers and alphabets +numbers.

 I tried it again, it gave me the same error.

Capture.PNG

Anonymous
Not applicable

Hi @Anonymous ,

 

I am unable to recreate your issue.

Is your data source an excel spreadsheet? or it is coming live from any DB?

if Excel, then may be this post helps you.

https://community.powerbi.com/t5/Desktop/DataFormat-Error-We-couldn-t-convert-to-Number-Details-CG105/td-p/495089

 

Thanks,

Tejaswi

Anonymous
Not applicable

@Tejas My data source is excel spreadsheet that is connected to my email.

Anonymous
Not applicable

Hi @Anonymous ,

 

Can you send me your code from the advanced editor?

 

Capture122.PNG

 

Thanks

Tejaswi

Anonymous
Not applicable

I found the solution. While loading the data, query loads it as an integer , so even if you later convert the type to "text" it still throws the error.

I went in advacned query editor for the first step and changed the type for"integer.64" to "text" by typing it manually.

and then it worked!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors