Forum Discussion
Bpark1994
5 years agoHelper I
Need Dax Help Please!
Hi Guys,
I have a table with a task code column and a count column. Im trying to add a calculated column to give me the desired result below. I need tasks 51E and 51F to be added together but the others just what they are.
Desired Result:
| Task Code | Count | Desired Calculated Column |
| 6A | 42 | 42 |
| 7B | 24 | 24 |
| 51D | 20 | 20 |
| 51E | 60 | 100 |
| 51F | 40 | 100 |
Thanks!
1 Reply
- amitchandakSuper User
Bpark1994 , Try a new column
if([Task Code] in {"51E","51F"} , sumx(filter(Table,[Task Code] in {"51E","51F"}),[Count]), [Count])