Forum Discussion

zamboni1199's avatar
zamboni1199
Helper II
5 years ago
Solved

Need help creating a subtotal

Hello,

 

I'm trying to create a subtotal for "Submitter" below, but not sure how to do it.  I'd like a subtotal row to be inserted after "Chris Hines" and it should say "3".  After Joy Lynne Burke it should say "8".  After Sheri Quam it should say "1".  Any help is appreciated! 🙂

 

 

  • Hi zamboni1199 ,

    is this what you are expecting?

     

     

    # of appearence = CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Submitter]))

    With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
    FrankAT (Proud to be a Datanaut)

4 Replies

    • zamboni1199's avatar
      zamboni1199
      Helper II

      Thank you.    I don't see where the subtotals are.  I am trying to count the number of instances a submitter appears (it is not a numeric value but is a text value).  I guess I'm looking for a "Count" rather than a subtotal.

  • FrankAT's avatar
    FrankAT
    Community Champion

    Hi zamboni1199 ,

    is this what you are expecting?

     

     

    # of appearence = CALCULATE(COUNTROWS('Table'),ALLEXCEPT('Table','Table'[Submitter]))

    With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
    FrankAT (Proud to be a Datanaut)

    • zamboni1199's avatar
      zamboni1199
      Helper II

      That is EXACTLY what I was hoping for.  Thank you so much!!