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
MilapM
Helper I
Helper I

How to deal with errors in a column after import.

I have an excel workbook and a region sheet within. After I import the table, I am getting errors for various cells of the postal code column in the region table.
Capture.JPG

Capture1.JPG

 As you can see, I am getting errors for the cells contoured with the green line in the previous image. How do I make Power BI to read all the data as-it-is?

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

The column has a numeric data type or a conversion to that type.  Change it to text or remove the conversion step

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

It looks like Power Query is auto-selecting the Type as "whole Number" when it should be alphanumeric, If you look on query steps, you can select this step by clicking on it, then manual change/update the datatype on the column by right-clicking on the postcode column and then selecting change type, then selecting text.

If you don't have the Query Setting panel, click the View tab and select query settings. 

Karlos_0-1611858726791.png

 

I am still getting errors.

HotChilli
Super User
Super User

The column has a numeric data type or a conversion to that type.  Change it to text or remove the conversion step

Changing wasn't doing any difference so I had to remove the conversion (changed type) and then manually select data types for each column as removing the conversion types resets the data types to Unknown.
Thanks.

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.