Forum Discussion

RandomKitten's avatar
RandomKitten
Frequent Visitor
7 years ago
Solved

Custom column to count matches?

I have a table that contains customers, tickets, and notes.    Each customer may have multiple tickets.  Each ticket may have multiple notes.  So the data looks something like this: What...
  • v-jiascu-msft's avatar
    7 years ago

    Hi RandomKitten,

     

    Try this formula as a calculated column, please.

    Column =
    CALCULATE (
        COUNT ( 'table'[Ticket] ),
        ALLEXCEPT ( 'table', 'table'[Customer] )
    )
    

    Best Regards,

    Dale