Forum Discussion

nwabramson's avatar
nwabramson
Advocate III
9 years ago
Solved

format distinct count

Is there a way to format the numeric result of an aggregation such as distinct count? I would like to add commas to my results and can't figure out how to display. 

  • Vvelarde's avatar
    Vvelarde
    9 years ago

    nwabramson

     

    A way yo solve your problem is:

     

    If is only one value to show you can use a Card Visual. (In formatting Options you can made the changes to show the ,)

     

    or Create a a measure to made the Distinct Count

     

    Carrier-DC=DistinctCount(Table[Carrier]) And Formatting this measure (In modeling)

8 Replies

    • nwabramson's avatar
      nwabramson
      Advocate III

      How do I model for a text field that I am creating a distinct count? I can't seem to figure it out for aggregates. 

      • Westcoaster's avatar
        Westcoaster
        Advocate I

        If you go to the Data Label in the formatting, you can change the display units to none and the value decimal places to 0 the 1,000 comma appears in the result.