Hello, I am trying to filter a gallery with both dropdowns and a text input box. Here is the formula that I have currently. I can't seem to figure out how to add the search function to what I already have to allow the gallery to also be filtered by the text input box.
If(
//Returns all locations if both dropdowns are set to "All"
areadropdown.Selected.Value = "All" And buildingdropdown.Selected.Value = "All", 'CB Locations',
//Returns locations matching the selected "buildingdropdown" value
areadropdown.Selected.Value = "All" And buildingdropdown.Selected.Value <> "All",
Filter('CB Locations', Building.Value = buildingdropdown.Selected.Value),
//Returns locations matching the selected "areadropdown" value
areadropdown.Selected.Value <> "All" And buildingdropdown.Selected.Value = "All",
Filter('CB Locations', Area.Value = areadropdown.Selected.Value),
//Returns locations matching the selected value of both dropdowns
areadropdown.Selected.Value <> "All" And buildingdropdown.Selected.Value <> "All",
Filter('CB Locations', Area.Value = areadropdown.Selected.Value And Building.Value = buildingdropdown.Selected.Value)
)