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
Justas4478
Post Prodigy
Post Prodigy

Power query trying to convert text to number unintentionally

Hi, I am working on migrating my reports to a sharepoint based storage.
unfortunatelly, one of the product codes for no reason is trying to convert in to number in power query, even when column type is changed to text.
That does not happen to the same product code when it is pulled from normal network drive.

Justas4478_0-1743498620789.png

For some reason it is trying to convert to number despite having text type.
I dont know why it is doing that.
Usually those problem dissapear when I cahnge column type from number to text, but this is first time I am getting this.
I think it has to do something with file being stored on sharepoint, if anyone has any idea how that can be a problem, please let me know.
I tried to change column type in file to text in sharepoint but that did not solve it.

1 ACCEPTED SOLUTION
Justas4478
Post Prodigy
Post Prodigy

Found what is the problem, Transform file from the query was forcing int type on the column.
I had to change it to text and that fixed it.
I am just unsure why later changes to column type were not overwriting that one data point.

View solution in original post

1 REPLY 1
Justas4478
Post Prodigy
Post Prodigy

Found what is the problem, Transform file from the query was forcing int type on the column.
I had to change it to text and that fixed it.
I am just unsure why later changes to column type were not overwriting that one data point.

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.