Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Column Error

Hello,

When i get data from an Excel sheet Powerbi shows error and remove all 0's in front of the EmpID.In Excel it looks totally fine.

Please help me solve it.

Thanks

pbi.PNGExc.PNG

1 ACCEPTED SOLUTION
helassal
Resolver II
Resolver II

@Anonymous ,

 

Hi, from looking at the power bi snapshot, it is possible that power bi decided to convert the ID column to whole number (hence, the removed zeroes) but then the conversion failed for some records (235 erros). If that's the case, you can modify or remove the conversion logic that was automatically added to the steps. (check the following snapshot).

 

In case this doesn't solve it, if you can share a screenshot of the M script from the advanced query editor (after removing any sensitive information), may be we can help you better.

 

Excel_Conversion_Issue.jpg

View solution in original post

1 REPLY 1
helassal
Resolver II
Resolver II

@Anonymous ,

 

Hi, from looking at the power bi snapshot, it is possible that power bi decided to convert the ID column to whole number (hence, the removed zeroes) but then the conversion failed for some records (235 erros). If that's the case, you can modify or remove the conversion logic that was automatically added to the steps. (check the following snapshot).

 

In case this doesn't solve it, if you can share a screenshot of the M script from the advanced query editor (after removing any sensitive information), may be we can help you better.

 

Excel_Conversion_Issue.jpg

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.