Forum Discussion
DDLINE CHECKING
- Anonymous5 years ago
Hi Anonymous ,
You could add a new index column for the calendar table.
Then create below formulas.
Column = LOOKUPVALUE('CALENDAR'[Index2],'CALENDAR'[date],OUTPUT[date])+OUTPUT[duration] Column 2 = CALCULATE(MAX('CALENDAR'[date]),FILTER(ALL('CALENDAR'),'CALENDAR'[Index2] = OUTPUT[Column]))Best Regards,
Jay
Hi amitchandak ,
Thank you for your insights. However, i don't like to add working days. I just wanted to count the days starting from ENDORSED DATE of the project until it's ddline based on DURATION column . but i want to count it based on another CALENDAR TABLE that has no weekends and holidays . so if you can see the orange table above . that is the calendar table that has already no weekends and holidays and I've filtered it already in Power Query.
Anonymous , A new column in the second table
countx(filter(CALENDAR, CALENDAR[Date] >=Table[Date] && CALENDAR[Date] <=Table[DEDLINE]),CALENDAR[Date])
In case the first table has a flag for the workday add that to calculation
Second page of attached file shows measure way