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
I'm really struggling to create a target completion date column. I've come close but still coming up short. Only 30 items can be completed per day and the target date should exclude weekends and Federal holidays. The below code is creating a target date. However, it's not factoring in the prevouse rows items or exclduing weekend/holidays.
I have two examples below:
1)Manual Table; the 6th only has 10 items which means 20 items from the 7th would be worked today.
2) Power Bi Table: the 2nd should have a target of today. However, the 5th and 6th would have the same target date since the total count is <30.
1) Manual table:
2) Power BI Table:
Hi @maundrellp Try to debug it creating table by VAR's and trace "error".
ADDCOLUMNS does not perserve data lineage so it could be reason for unwanted results.
I hope this help
Proud to be a Super User!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 33 | |
| 32 | |
| 31 | |
| 26 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |