Forum Discussion

Pandetbaby's avatar
Pandetbaby
Frequent Visitor
5 years ago
Solved

Calculated column - counting occurrences associated with unique IDs

Hey!

I have a list of IDs and occurences, and I was wondering if there is a way to add a calculated column that will give me the total set of occurences per ID?

 

IDOccurenceTotal Occurence for ID

A

13
B 0
C12
C12

A

13

A

13

A

 3

 

Thank you!

2 Replies

  • Pandetbaby 

    Pls try

    Column = CALCULATE(SUM('Table (3)'[Occurence]),ALLEXCEPT('Table (3)','Table (3)'[ID]))+0

  • v-easonf-msft's avatar
    v-easonf-msft
    Icon for Community Support rankCommunity Support

    Hi, Pandetbaby 

    Could you please tell me whether your problem has been solved?

    If yes, you could accept the helpful answer as solution to close this thread.

     

    Best Regards,
    Community Support Team _ Eason