Forum Discussion
Pandetbaby
5 years agoFrequent Visitor
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?
| ID | Occurence | Total Occurence for ID |
A | 1 | 3 |
| B | 0 | |
| C | 1 | 2 |
| C | 1 | 2 |
A | 1 | 3 |
A | 1 | 3 |
A | 3 |
Thank you!
Pls try
Column = CALCULATE(SUM('Table (3)'[Occurence]),ALLEXCEPT('Table (3)','Table (3)'[ID]))+0
2 Replies
- ryan_mayu
Super User
Pls try
Column = CALCULATE(SUM('Table (3)'[Occurence]),ALLEXCEPT('Table (3)','Table (3)'[ID]))+0 - v-easonf-msft
Community 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