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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi @ all,
I would like to calculate the following: "Workload Person/Activity"
Person Activity Workload Workload Person/Activity
| A | 1 | 50% | 70% |
| A | 1 | 20% | 70% |
| A | 2 | 30% | 30% |
| B | 1 | 10% | 20% |
| B | 1 | 10% | 20% |
| B | 2 | 80% | 80% |
This should be a simple DAX formula but I just can't figure it out 🙂
Solved! Go to Solution.
new column = sumx(filter(TableName;earlier([Person])=[Person]&&earlier([Activity])=[Activity]);[Workload])
try this
new column = sumx(filter(TableName;earlier([Person])=[Person]&&earlier([Activity])=[Activity]);[Workload])
try this
works perfectly, thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 120 | |
| 95 | |
| 70 | |
| 69 | |
| 65 |