Hello - I copied this formula from one of Sam’s videos talking about Weekends and Weekdays.
But I get an error message. In fact, what happens is that when I hit “enter”, the formula changes and adds )))))) with a red line under the last one. And it’s telling me the minimum argument is 3.
Any idea why?
Weekend or Weekday = SWITCH(TRUE(),
DATE(DateTable[DayInWeek] = 1, “Weekday”,
DATE(DateTable[DayInWeek] = 2, “Weekday”,
DATE(DateTable[DayInWeek] = 3, “Weekday”,
DATE(DateTable[DayInWeek] = 4, “Weekday”,
DATE(DateTable[DayInWeek] = 5, “Weekday”,
DATE(DateTable[DayInWeek] = 6, “Weekend”,
DATE(DateTable[DayInWeek] = 0, “Weekend”,
BLANK() )