Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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!
| User | Count |
|---|---|
| 55 | |
| 37 | |
| 26 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 58 | |
| 39 | |
| 21 | |
| 21 |