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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.