Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi Im getting really frustrate!! I have an excel file which is upoading to PowerBI one column is alphanumeric and is formated in excel as a TEXT and in Power query it is also formatted as TEXT but for some reason it still shows errors
When looking at the error in Power Query and selecting one of the Error cells the message at the bottom of the screen reads "DataFormat.Error: We could not convert to Number."
I dont want to convert to number that is why I formated the column as TEXT????
Solved! Go to Solution.
Try changing the original
{"Product Code", Int64.Type}to
{"Product Code", type text}and then hit close and apply. If the query does not error out you can remove the extra change type steps
Hi @KeithRDH,
Can you post your query from the advanced editor as well as a picture containing one of the error cells?
This is the screen shot of the Power Query with error message at bottom. Sorry not sure what Advance editor is?
On the Home tab there should be an option called Advanced Editor under the Query heading. It basically shows all the code for your query without clicking on each step
Thanks see screen shot of this...
Can you send the code for your original SalesOrders table? I believe this query is the error report, which you can remove
Hows this?
Try changing the original
{"Product Code", Int64.Type}to
{"Product Code", type text}and then hit close and apply. If the query does not error out you can remove the extra change type steps
You Sir, are a genius. That worked perfectly. I've lost 3 hours of my life but at least I gained faith in humanity. Thank you so much!
No problem, you can also have Power BI apply this fix for you automatically in the future by having the original Changed Type step selected while changing your columns and selecting Replace Current when you are prompted
Sorry, now showing all text.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |