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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors