Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
11 years ago
Solved

How do you change the data label number format in Power BI Charts?

I can't seem to find out how to change the number formatting for data labels in Power BI charts. It seems to only have the format of "#.##k" (e.g. 100,000 is displayed as 100k).    I have to be ove...
  • cdotzenrod's avatar
    cdotzenrod
    11 years ago

    I tried the following with one of my calcuations in "Power BI Desktop" and I was able to get the type of formatting that you were looking for vs. the default #.##K type formatting you had in your screenshot.  Unfortuneatly that only works for card style tyles since it changes the numeric format to text (And text style calcs can't be used in bar graphs and other charts) 

     

    Total Received = FORMAT(SUM(Receipts[Receipts]),"#,###")   -- This measure formula rendered like this:

     

    text label.PNG

     

    Based on the current version the only changes you can make to label formatting for measures are the following:

     

    data labels.PNG

     

    Hope this helped.  I would expect that we'll see more control for formatting in a future build at some point although I don't know when that will happen.