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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
DingbatData
Advocate I
Advocate I

Format string issue - Number in thousands

Let's say I have a measure

Measure = 123456789

 

In a table visual, with only that measure, If I use custom format string of:

#,0 I get 123,456,789 (which I expect)

#,0, I get 123,457 (which I expect)

#,0,k or #,0,\k or #,0,"k" I get 123,456,789k (which I do not expect, I hoped for 123,457k) 

 

Is there a solution to this? or is this a bug?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI @DingbatData,

It seem like a custom formatting string issue that I already reported, you can take a look at the following link if it is similar to your scenario.

Possible bug with chart y axis custom number formatting 
Regards,

Xiaoxin Sheng

View solution in original post

6 REPLIES 6
DingbatData
Advocate I
Advocate I

Hi Shen @Anonymous , Thanks for raising the bug, yes seems to be the same issue. I was acutally able to solve my particular issue by putting the comma last i.e #,0k, I cannot solve the issue by Ben Norris (OP in the link you gave) using this work around as having a decimal stops this work around from working.  

 

Comma after K!!! Lifesaver! Thanks

AG2
Frequent Visitor

This worked! Thank you! This is my custom format with the comma after the "K" like you said and it worked successfully:
$#,##0"K",;($#,##0"K",);$0"K"

amitchandak
Super User
Super User

@DingbatData , refer this how to get various format

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-custom-format-strings

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Yes I have read it, not really helpful for this situation. Actually the format strings work as expected in the DAX function FORMAT, however I was hoping to not format numbers as a string. 

The situation I gave in the original post was simplified, the actual format string I want to use is

#,0,;(#,0,);-

but same problem applies (in this case, the last bracket in the negative scenario stop the number being in thousands)

Frankly, I think this is a bug.

Anonymous
Not applicable

HI @DingbatData,

It seem like a custom formatting string issue that I already reported, you can take a look at the following link if it is similar to your scenario.

Possible bug with chart y axis custom number formatting 
Regards,

Xiaoxin Sheng

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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