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
SofiaMaria
New Member

Power BI converts numbers to general

Hi,

 

when I import my excel table to Power BI, it imports some coloumns labelled as numbers as numbers. However, there are two important coloumns it imports as general (i hope thats the right name, I mena the symbol with numbers and the ABC on it). When I try to convert to decimal number using the power query it produces mostly errors. Does any one have a solution for this?

 

Thank you 🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Then probably your data is not consistant.

Perhaps the first part looks like decimal numbers, but there are texts in there as well. 

 

Sharing (a screenshot of) the error would help. 

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

In data view, when you click on the down arrow on the column name, it shows distinct values(Not all), Just see if find something which is not number.

In case you have imported csv, there can be issues because , misplacement

Anonymous
Not applicable

Then probably your data is not consistant.

Perhaps the first part looks like decimal numbers, but there are texts in there as well. 

 

Sharing (a screenshot of) the error would help. 

Thanks. As soon as you mentioned it, I realized that I had "'-" for missing values. Changing that did the trick 🙂

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.