cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Krushal Frequent Visitor
Frequent Visitor

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

Accepted Solutions
Krushal Frequent Visitor
Frequent Visitor

Re: Aplhabet and number togetjer - data error

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
tejaswidmello Established Member
Established Member

Re: Aplhabet and number togetjer - data error

Hi @Krushal ,

 

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

Krushal Frequent Visitor
Frequent Visitor

Re: Aplhabet and number togetjer - data error

Capture.PNG


@tejaswidmello wrote:

 

tejaswidmello Established Member
Established Member

Re: Aplhabet and number togetjer - data error

Hi @Krushal ,

 

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

Krushal Frequent Visitor
Frequent Visitor

Re: Aplhabet and number togetjer - data error

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

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

Capture.PNG

tejaswidmello Established Member
Established Member

Re: Aplhabet and number togetjer - data error

Hi @Krushal ,

 

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-CG10...

 

Thanks,

Tejaswi

Krushal Frequent Visitor
Frequent Visitor

Re: Aplhabet and number togetjer - data error

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

tejaswidmello Established Member
Established Member

Re: Aplhabet and number togetjer - data error

Hi @Krushal ,

 

Can you send me your code from the advanced editor?

 

Capture122.PNG

 

Thanks

Tejaswi

Krushal Frequent Visitor
Frequent Visitor

Re: Aplhabet and number togetjer - data error

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

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 50 members 1,172 guests
Please welcome our newest community members: