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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
asgharkhan
Frequent Visitor

Using comma , instead of dot in Numbers

Hi members,

I need to show the output of my measure SUM('tbl'[Document Amount])

as $220,074,08 instead $220,074.08.
That is to use , for digit grouping and also for decimal point.

 

Thanks in advance.

5 REPLIES 5
johnyip
Solution Sage
Solution Sage

@asgharkhan 
A simple worksaround can be something like this:

 

Measure = 
VAR A= 12311.456
RETURN
SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(FORMAT(A,"#,##0.#################"),".","+"),",","."),"+",",")

 

 

But this will make PowerBI recognize this as text instead of numbers.

So this measure should be used at reporting level only. Whenever there are intermediate calculations, you should not do the above. The above should be applied to the measures that calculate the final results.



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!
Idrissshatila
Super User
Super User

@asgharkhan ,

 

but this would change your output and give false numbers, so you're saying you want the value to be 22 million instead of 220 thousand.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thank you for the reply, no i want to format numbers with only comma for both as sperator and decimal point.

 

In pbix file already seleted Ducth(Neterlands) as Locale for Regional settings; and also in Region settings of Windows 11 as shown in screeshot, but it still shows . for digit grouping.

Screenshot 2023-11-07 132145.png

 

Screenshot 2023-11-07 132525.png

 

 

Anyone please?

Anonymous
Not applicable

Hi @asgharkhan 

You can refer to the following example

Sample data 

vxinruzhumsft_4-1699515735087.png

Create a measure

 

Measure = var a=FORMAT(sum('Table'[Column1]),"")
return FORMAT(VALUE(LEFT(a,SEARCH(".",a,,BLANK())-1)),"#,##0")&","&FORMAT(INT(RIGHT(a,LEN(a)-SEARCH(".",a,,BLANK()))),"#,##0")

 

 

Output

vxinruzhumsft_5-1699515883494.png

 

 

 

 

Tip: the measure type is a text, so it can only be used as a value in table visual. 

 

Best Regards!

Yolo Zhu

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

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.