Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I have a field contains mostly numerical values except a few of them has values with a * suffix. Hence I formatted the field as Text.
After formatting, I receive the error "We couldn't convert to Number".
Why does this happen and how can I resolve this?
Thanks
Solved! Go to Solution.
Did you replace any steps in the Query Editor that may be attempting to convert it to a number? I've had issues before where I set it to text, but didn't remove the autodetect step that was trying to convert it to a number.
Alternatively, if that asterisk has meaning, you might make a custom column that shows true/false on whether the asterisk is present, and then strip the asterisks from your column so that you can actually make it numeric.
Did you replace any steps in the Query Editor that may be attempting to convert it to a number? I've had issues before where I set it to text, but didn't remove the autodetect step that was trying to convert it to a number.
Alternatively, if that asterisk has meaning, you might make a custom column that shows true/false on whether the asterisk is present, and then strip the asterisks from your column so that you can actually make it numeric.
Hi @Anonymous,
Yes, I was receiving the error exactly for that reason.
Thanks!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 30 | |
| 23 |