Hi @hotdogman,
In case you want to filter your datasource (e.g. within a gallery) to only include certain rooms based on the room name, you could use the structure below. The code below expects a text column storing the room name:
Filter(
//Adjust with your datasource name
Datasource,
//Only display rooms with name RS... if the toggle is enabled
//Replace .Value with .Checked should you use the modern toggle control
!Toggle.Value || 'Room Name' = "RS_KS11100"
)
In case the column is not of type text, would it be possible to provide additional information on your datasource & column type?
If this solves your question, would you be so kind as to accept it as a solution. ✔️
If you liked my solution, please give it a thumbs up. 👍
Connect with me: LinkedIn | Blog