Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Calculated column - counting occurrences associated with unique IDs
09-10-2021
08:21 AM
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!
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2021
09:38 AM

Pls try
Column = CALCULATE(SUM('Table (3)'[Occurence]),ALLEXCEPT('Table (3)','Table (3)'[ID]))+0
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2021
12:38 AM

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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2021
09:38 AM

Pls try
Column = CALCULATE(SUM('Table (3)'[Occurence]),ALLEXCEPT('Table (3)','Table (3)'[ID]))+0
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!

Helpful resources
Announcements
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Recommendations
Subject | Author | Posted | |
---|---|---|---|
10-11-2023 06:00 AM | |||
09-09-2024 05:05 AM | |||
03-27-2024 06:21 AM | |||
Anonymous
| 03-07-2024 08:14 AM | ||
03-14-2022 07:47 AM |
Featured Topics
Top Solution Authors (Last Month)
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |