Hi @Gunayathi ,
"Not working" does not really help solve this.
What type of value is in Toggle_3? You referred to it as "true" and I suspect it was Boolean (true/false), which needs a Default (and therefore cannot be blank). Also a toggle only has two values (generally true/false).
Note I used your filter code as I cannot see your model and the error may be there.
If for example, toggle_3 was a text field in your list (but I don't think it is), your code would be something like
With(
{
wTodo:
LookUp(
Todolist_QC,
Dateid_Todo = Concatenate_date_2.Text &&
Shift = 'Schicht value_to_do_2'.Selected.Value &&
day_todo = tagvalue_2.Text
).toggle_3
},
Switch(
wTodo,
Blank(),
Grey,
"True"
Green,
Red
)
)
Please confirm the type of field toggle_3 is in your list - and also confirm it is a field, not a control on your screen.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.