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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
PieroPinzone95
Frequent Visitor

Format with dot as thousands separator and comma as decimal separator

Hi guys, I would like to convert the format as shown above... i start with comma thousands separator and dot as decimal separator... i want the opposite

Screenshot (93).png

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @PieroPinzone95 ,

Your regional settings determine what character is used as the thousands separator. 

You can consider using the Format() function to implement it, but it ends up in text formatting

FORMAT function (DAX) - DAX | Microsoft Learn

 

Here are the steps you can follow:

1. Create calculated column.

Flag =
var _thousand=ROUNDDOWN('Table'[Column1]/1000,0)
var _hundreds=ROUNDDOWN(MOD('Table'[Column1],1000),0)
var _decimal=ROUND(MOD('Table'[Column1],1),1) * 10
return
_thousand &"."&_hundreds&","&_decimal

2. Result:

vyangliumsft_0-1682666166250.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
v-yangliu-msft
Community Support
Community Support

Hi  @PieroPinzone95 ,

Your regional settings determine what character is used as the thousands separator. 

You can consider using the Format() function to implement it, but it ends up in text formatting

FORMAT function (DAX) - DAX | Microsoft Learn

 

Here are the steps you can follow:

1. Create calculated column.

Flag =
var _thousand=ROUNDDOWN('Table'[Column1]/1000,0)
var _hundreds=ROUNDDOWN(MOD('Table'[Column1],1000),0)
var _decimal=ROUND(MOD('Table'[Column1],1),1) * 10
return
_thousand &"."&_hundreds&","&_decimal

2. Result:

vyangliumsft_0-1682666166250.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.