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

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

Hello all,

 

I was hoping you could help me. I receive the error DataFormat.Error: We couldn't convert to Number.

 

This occurs in columns which I want to display text. I have tried changing the data type of these columns to 'any' and 'text' with no luck.

 

Please see photo below. All your help is greatly appreciated

 

Capture.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

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

@dmffc,

 

You may just change the fourth step.

Community Support Team _ Sam Zha
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

7 REPLIES 7
Maddy99 Regular Visitor
Regular Visitor

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

Can you show a pictures of how the data was before this step?

 

 

dmffc Frequent Visitor
Frequent Visitor

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

Hi, 

 

Thanks for the response. The data looked pretty much the same. 

 

I dont understand why it is trying to convert to a number in the firtst place, as it is the text values I want. I have removed the last step in power query.

 

Capture2.PNG

 

Thanks

 

Dom

Maddy99 Regular Visitor
Regular Visitor

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

Power BI may have create the change type step automaticly .

on the right side you see the applied steps window. there you can remove the step. 

 

but i dont realy understand your question.

1) do you want to change te date to a numer

2) do you NOT want to change your data type?

 

mvg,

madelon

dmffc Frequent Visitor
Frequent Visitor

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

So, I would like to keep the column as text. However, when I change data type to text (as I want), I get the error message.

 

The column only contains text values, and I want that to stay. 

 

I hope this is clear.

 

Thank you

 

dmffc Frequent Visitor
Frequent Visitor

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

Please see the text I would like to be displayed in the error message

Capture3.PNG

Community Support Team
Community Support Team

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

@dmffc,

 

You may just change the fourth step.

Community Support Team _ Sam Zha
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

dmffc Frequent Visitor
Frequent Visitor

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

Thanks!

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)