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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Fcoatis
Post Patron
Post Patron

try otherwise inside Table.TransformColumnTypes

Ok, here is what I´m trying: Change the type number with Locale settings if I got error keep the local number type:

Screenshot 2021-04-09 155351.png

 

Something like:

 

= Table.TransformColumnTypes(#"Changed Type with Locale", try each {{"Patrimonio", type number}}, "en-US" otherwise {{"Patrimonio", type number}})

 

 

Thanks in advance

 

3 REPLIES 3
v-janeyg-msft
Community Support
Community Support

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.

mahoneypat
Microsoft Employee
Microsoft Employee

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

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Just can´t I have both formats with "." and ","

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.