I am currently building a Wiki hub that utilizes a table to hold subpages. This table has a Text Control and a Multiple Select Control that I would like to be able to use to either search for subpages or even filter by category of page.
The formula that I used to implement this was: thisRow.Category.Matches([Wiki Filter 2]) OR thisRow.Title.Matches([Wiki Search 2])
As of now the Text Control Works (which is labeled as “Wiki Search 2”) but the Multiple Select Control isn’t functioning (which is labeled as “Wiki Filter 2“)
Great that you were able to update the formula to include this behavior. If you don’t mind, here’s a more straightforward formula that does what you want, using only OR and AND.
([Wiki Filter 2].isBlank() OR [thisRow].[Category].Matches([Wiki Filter 2])) AND ([Wiki Search 2].isBlank() OR [thisRow].[Title].Matches([Wiki Search 2])
In the end, this is boolean logic.
So, if the Wiki Filter is blank, the first part will always return true and will include all rows. This means the filter will depend only on Wiki Search. The opposite is also true: if Wiki Search is blank, the second part will always be true and the filter will depend only on Wiki Filter. If both are blank, the result will always be true.