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
Anonymous
Not applicable

[DataFormat.Error] We couldn't convert to Number.

Hi everyone, i'm trying to do some data transformations with my data. But when I try to drop down the filter, it's showing data format error. The column is of "Text" type. But I don't understand why does it throw error regarding number. Can anyone please help? 

SatishBadiger_0-1662107475277.png

I have added the snapshot for reference.

Thanks

1 ACCEPTED SOLUTION
PijushRoy
Super User
Super User

Hi @Anonymous 

May be there are some special character/non supported character
To handle this situation,
1. Please insert Index into the table
001.png
2. Then select the column and Replace error with specific value, example 55555


01.png

 

3. After the replace value, filter the table with value you replace (example 55555)
4. Now check the Index of the the Row
5. Go to Power Query earlier step and check the value whcih cause error and correct the error value. After correct the value in your source file, you can delete the steps you made for error checking.

I hope you understand the process, please let me know

If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos

 

 

 

View solution in original post

2 REPLIES 2
PijushRoy
Super User
Super User

Hi @Anonymous 

May be there are some special character/non supported character
To handle this situation,
1. Please insert Index into the table
001.png
2. Then select the column and Replace error with specific value, example 55555


01.png

 

3. After the replace value, filter the table with value you replace (example 55555)
4. Now check the Index of the the Row
5. Go to Power Query earlier step and check the value whcih cause error and correct the error value. After correct the value in your source file, you can delete the steps you made for error checking.

I hope you understand the process, please let me know

If solve your requirement, please mark this answer as SOLUTION
If this comment helps you, please LIKE this comment/Kudos

 

 

 

claymcooper
Resolver II
Resolver II

It's not coverting to Number because you have letters in the column. The only way to change it to a number is to remove those letters or taking out the number portion by using delimiters.

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.