Forum Discussion
Anonymous
4 years agoNot applicable
Returning first working date per week
Hello Community, Hope you are well. I have the below calendar table. I need to add a calculated column returning the first working date per week. Any help more than welcomed. DateYear...
- 4 years ago
If you want a date for each row, then try
FirstWorkdayOfWeek = CALCULATE ( MIN ( 'Calendar'[Date] ), ALLEXCEPT ( 'Calendar', 'Calendar'[Year], 'Calendar'[Week of Year] ) )This takes the minimal date in the calendar table for the Year and Week of Year combination in that particular row.
Anonymous
4 years agoNot applicable
Hi Anonymous ,
Please try:
Column = CALCULATE(FIRSTNONBLANK('Table'[Date],TRUE()),FILTER('Table',[Year_Week]=EARLIER('Table'[Year_Week]) && [Working/Weekend_Day]="Working"))
Output:
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.