Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello All,
How can I achieve the outcome listed below for Total Capacity? I am using a matrix table and I want to add a column like Total Capacity below that shows the Job Cap total based on Employee. Is this possible?
| Employee | Job Cap | Total Capacity |
| A | 25 | 100 |
| A | 25 | 100 |
| A | 25 | 100 |
| A | 25 | 100 |
| B | 40 | 80 |
| B | 40 | 80 |
| C | 20 | 60 |
| C | 20 | 60 |
| C | 20 | 60 |
| D | 10 | 50 |
| D | 10 | 50 |
| D | 10 | 50 |
| D | 10 | 50 |
| D | 10 | 50 |
| F | 30 | 30 |
Solved! Go to Solution.
Hi, @punksterz626 ;
In the image above, can you share yours [Planner] column?Because this is a [Planner] column grouping.
Base on the example you offered. You could try this dax.
Total capacity 2 = CALCULATE(SUM([Job Cap]),ALLEXCEPT('Table','Table'[Employee]))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Try this one
The result is the same as job cap and not the total.
Hi,
Write this calculated column formula
Total capacity = calculate(sum(Data[job cap]),filter(Data,Data[Employee]=earlier(Data[Employee])))
Hope this helps.
This didnt work for me. Getting an error EARLIER/EARLIEST refres to an earlier row context which doesnt exist.
FYI - The rows might not necessarily be sequential by employees. They are not in specific orders if that helps.
Share the link from where i can download your PBI file.
Try this:
Total Capacity = CALCULATE(
SUM(Tabla[límite de trabajo]), ALL(Tabla[Empleado]))
This did not work for me. The results are the same as the job cap.
this is result you want right??
It is what i wanted but when i try to follow the same DAX it yields differently.
Hi, @punksterz626 ;
In the image above, can you share yours [Planner] column?Because this is a [Planner] column grouping.
Base on the example you offered. You could try this dax.
Total capacity 2 = CALCULATE(SUM([Job Cap]),ALLEXCEPT('Table','Table'[Employee]))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This actually works! Thank you.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!