Forum Discussion
Reimer
5 years agoHelper II
Next monday
I would like a new calculated column date as follows: if today is monday, keep it. If not return the next monday. Ive tried this: NextMonday = DATEADD(Dates[Date],MOD(7-WEEKDAY(Dates[Date],3),7...
- 5 years ago
Ive tried this as well. But the formula doesnt keep the monday:
Maandag publicatie = 'Procedures - Power BI'[Invoerdatum].[Date] - WEEKDAY('Procedures - Power BI'[Invoerdatum],2)+8
amitchandak
5 years agoSuper User
Reimer , Try this if not resolved yet
Next monday = if(WEEKDAY([Date],2)=1, [Date],'Date'[Date]+ 8-1*WEEKDAY('Date'[Date],2) )
Reimer
5 years agoHelper II
WAUW, it is working.
Thank you all for your great help and patience!