Craigc3814
Board Regular
- Joined
- Mar 7, 2016
- Messages
- 217
I am trying to calculate network days between dates in PQ. I created a customer calendar parameter and removed weekends and holidays from the tables. I then created an index column starting from 1 that numbers my days with the idea that I would look up the end date number then the start date number and subtract the 2 giving me the number of days between the dates.
Ran into a problem, sometimes the start date is a weekend so when I lookup the value there is nothing there as I filtered it out of my calendar table. Any suggestions?
Ran into a problem, sometimes the start date is a weekend so when I lookup the value there is nothing there as I filtered it out of my calendar table. Any suggestions?