The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Pls try
Column = CALCULATE(SUM('Table (3)'[Occurence]),ALLEXCEPT('Table (3)','Table (3)'[ID]))+0
Proud to be a Super User!
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
Pls try
Column = CALCULATE(SUM('Table (3)'[Occurence]),ALLEXCEPT('Table (3)','Table (3)'[ID]))+0
Proud to be a Super User!
User | Count |
---|---|
74 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |