Forum Discussion
RonaldvdH
Post Patron
7 years agoHelp me understand an error in a formula
Goodevening,
One of my formula's (which always worked) just returned an error which i can't explaing.
Roughly translated it states that:
A startdate in the function 'Calendar' may not be past the enddate
I thought someone entered a date which was before (or past) the dates in my 'date' table but even when ive extended the range the error still stayed and im not sure how to correct it.
Can someone help me please ?
9 Replies
- AnonymousNot applicable
Hi,
Can you share your DAX please?
Thanks.
- RonaldvdH
Post Patron
Anonymous sure thing, should have added it in the first place :)
Doorlooptijd Schades in Werkdagen = VAR YourDate = if(IsBlank([afgehandeld]); TODAY(); [afgehandeld])RETURNCOUNTROWS(FILTER(ADDCOLUMNS(CALENDAR([binnengekomen];YourDate);"DayofWeek";WEEKDAY([Date];2));[DayofWeek] <> 6 && [DayofWeek] <> 7))- v-eachen-msft
Community Support