Forum Discussion
Next monday
- 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
Doesit work for you:
Well this is more then I can handle 🙂
Do I just copy this in my Power BI and change
"DatesTable for my column?
- PC27905 years agoCommunity Champion
Ahh! my bad.
yes you need to create a calculated column from ColumnTools --> New Column
and paste this dax iformula there
And yes DatesTable is Dates[Date] for you
- Reimer5 years agoHelper II
Something is still wrong?
- PC27905 years agoCommunity Champion
Is Invoerdatum your date column?
If yes, then remove the [Date] from everywhere where it is causing the error
- Reimer5 years agoHelper 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?