This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Ok, here is what I´m trying: Change the type number with Locale settings if I got error keep the local number type:
Something like:
= Table.TransformColumnTypes(#"Changed Type with Locale", try each {{"Patrimonio", type number}}, "en-US" otherwise {{"Patrimonio", type number}})
Thanks in advance
Hi, @Fcoatis
Sorry. Two formatting types can’t exist in the number type field at the same time, the formatting affects the entire field. Only text types can.
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is the difference between the numbers the presence of "," or "." in the number? If so, you could just Replace Values ahead of the data type change to avoid the error.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Just can´t I have both formats with "." and ","
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 25 | |
| 23 | |
| 19 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 24 | |
| 23 | |
| 20 | |
| 20 | |
| 19 |