Forum Discussion

rtemplin's avatar
rtemplin
Regular Visitor
8 years ago
Solved

Comma Format count of values in Matrix

I am new to the forum and PBI.  My apologies if I breach any forum protocol.

 

So below is a matrix visualization i have on a report. The values are a count of a non-numeric field.  

 

I want the counts to be formatted as XX,XXX.   So, for example, 15009 would be 15,009.  

 

I do not know a way, let alone the best, to accomplish?

 

13 Replies

  • I realize this is an old post, but here's another option for anyone else who comes across this (this functionality was added after the original post).

     

    You can select the visual and go to formatting options, then choose "Field Formatting" and select the field you want, then enter a value for decimal places and select apply to total.  There is not an option for "thousands separator" specifically, but populating the decimal places will result in the comma appearing.

     

     

    • fie_sly's avatar
      fie_sly
      New Member

      found it.
      it's under "Specific Column" menu, in "values" sub-menu.

      it worked with count but didn't worked with sum.
      CMIIW

    • HansTheEnforcer's avatar
      HansTheEnforcer
      Helper I

      rtemplin  This should be marked as a solution.  It accomplishes exactly what you're asking for and doesn't require the creation of extra measures.

    • nswitzer's avatar
      nswitzer
      Frequent Visitor

      Thanks! This looks like the cleanest solution!

    • rtemplin's avatar
      rtemplin
      Regular Visitor

      Thank you, Greg.  I greatly appreciate the help and forum guidance.  

  • I have the same issue but I do NOT see the Field Formatting menu.  If I create a measure, then the tooltip displays BOTH the default and my measure so the measure solution does not work.  Please adivse

  • Greg_Deckler  I have same requirement but little different 

    I want to show values with comma separate but can't not use above mentioned option neither I can use Format function in dax as it gives text values and Power BI work weired with text.

     

    Is there any other way we can get the same result 

    Note I have matxix where I am showing all type of values like some KPI has % some has decimal, some has whole number and some has comma separate values.