Hi!
I hope I understand correctly, you only want to use this filter when the toggle is selected? If so, try something like:
Filter(
AvailableRoomEmailName,
If(
Toggle1.Value,
"RS_KS4950" in Name,
True
)
)
"If(Toggle1.Value, "RS_KS4950" in Name,True)" Is used here, so that If Toggle1 is checked, it will filter as you've specified. Otherwise it will return all results.
Please note you may have a delegation issue here, which could become a problem if more than 2000 records will be in play.
Hope this helps! 🙂