@Preston
I replaced the measure looking for employee name in Workticketstepheadermerge[Employees]
8DaysAhead =
Var ScheduledDays =
IFERROR(Search(“a”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“b”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“c”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“d”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“e”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“f”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“g”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“h”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“i”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“j”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“k”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“l”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“m”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“n”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“o”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“p”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“q”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“r”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“s”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“t”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“u”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“v”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“w”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“x”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“y”,Workticketstepheadermerge[Employees]),0) &
IFERROR(Search(“z”,Workticketstepheadermerge[Employees]),0)
Return
//ScheduledDays
If(
ScheduledDays = 0
&& ( (WeekDay(Today()+8=1) || WEEKDAY(Today())+8=7)),
“Weekend111”,
“False”
)
With the following measure:
8DaysAhead =
Var ScheduledDays =
IF(
LEN(Workticketstepheadermerge[Employees]),
0,
BLANK())
Return
//ScheduledDays
If(
ScheduledDays = 0
&& ( (WeekDay(Today()+8=1) || WEEKDAY(Today())+8=7)),
“Weekend111”,
“False”
)
As you mentioned
If the field has commas then it is not Blank. It is a good practice to Trim & Clean your columns so they only have the desired data in them.
I am attaching the file and let me know if this is what you are looking for.
AssemblySchedule - Fixed.pbix (640.5 KB)
Thanks.