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
MarkusEng1998
Resolver II
Resolver II

Convert to Text error - adds additional numbers

I have a column called Item No, which is not really a number. Some of the values do contain letters. However, when I convert the field to text, additional numbers are added to the end as if there was a reverse rounding... I want to use this column for a join where the other table has the column as Text. I even tried changing the column in the original Excel file, but PowerBI still reads it as general. Please advise. Thank you!

 

Item No Error 2021-11-01_7-38-02.jpg

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@MarkusEng1998 , find the first step where the data type is changed. Make it test on that step. Click on that step and try to change. It should ask to overwrite that step or add new. Overwrite.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi  @MarkusEng1998 ,

 

It can be that before putting into Excel, the original data format is 27.000299999Excel automatically rounded to 27.0002. Then importing this excel to power bi will keep that rounded format.

 

You can try to modify a few rows of data to 3 decimals e.g. 27.0002 in Excel. And import into power bi again, check If the modified data remains with 3 decimal number or still add additional integers.

vyangliumsft_0-1636005601544.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

MarkusEng1998
Resolver II
Resolver II

= Table.TransformColumnTypes(#"Renamed Columns",{{"Item Number", type text}})

 

The Item Number changes when I change the type from Decimal to Text.

amitchandak
Super User
Super User

@MarkusEng1998 , find the first step where the data type is changed. Make it test on that step. Click on that step and try to change. It should ask to overwrite that step or add new. Overwrite.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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.