Forum Discussion
Reimer
Helper II
5 years agoNext 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
Reimer
Helper II
5 years agoWell this is more then I can handle 🙂
Do I just copy this in my Power BI and change
"DatesTable for my column?
PC2790
Community Champion
5 years agoIs Invoerdatum your date column?
If yes, then remove the [Date] from everywhere where it is causing the error
- Reimer5 years ago
Helper II
Thank you, no more Error. Just two small issues.
I am now using this formula:
But this is the output:
So, it return the previous Monday (and should return the next monday), and on Mondays (invoerdatum) it returns a very weird date (and should remain the same)
Can you help?