Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Trying to convert a mixed column of letters and numbers to all numbers. It is giving me an error when it actually is a number in the column.
Where you see "Error" in the "Unit Per ASSY Fix", I need the number value in "UNIT PER ASSY"
Solved! Go to Solution.
That error still seems odd and I'd like to figure it out just to learn, but if all you want to do is grab the number and otherwise count it as 0, you could bypass the whole conditional column and try Add Custom Column instead. Use the formula below:
=try Number.From([UNIT PER ASSY]) otherwise 0
@Anonymous
Your decimal is with . or with ,
Maybe change this in Conditional colum 0,0 instead 0.0
I started by just putting in 0 but I changed it to 0.0 to see if that would fix the problem.
So in short, I would like it to be 0 if the column is non-numeric and the number if a number.
That error still seems odd and I'd like to figure it out just to learn, but if all you want to do is grab the number and otherwise count it as 0, you could bypass the whole conditional column and try Add Custom Column instead. Use the formula below:
=try Number.From([UNIT PER ASSY]) otherwise 0
That worked perfectly! Thank you
I tried to recreate and don't get the error. Can you click in the white space of the one the cells, next to the word Error? That should give an idea of what's going on in a message at the bottom.
Here is the error
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
70 | |
37 | |
29 | |
26 |
User | Count |
---|---|
91 | |
49 | |
44 | |
38 | |
37 |