Hi all, I am trying to put a dropdown on of the gallery. However, there's already a filter function on it. How can I put all these functions together?
My Current function (working) is:
SortByColumns(Filter([@'Inside Trading List'], StartsWith(Title, TextSearchBox1.Text)), "Title", If(SortDescending1, SortOrder.Descending, SortOrder.Ascending))
-Where it is filtering in a Searchtext Box, whatever text is needed from my title column list.
But I also need to put a dropdown for them to be able to filter by category, which is a "text" column list in SharePoint.
I know that the other function for my drop down, for which items are Distinct ('Inside Trading List', Category)
So I know that I can filter by using the drop down with this formula, as I tested it and it works:
Filter([@'Inside Trading List'], Category = Dropdown1.Selected.Result)
How can I put all these functions together?
SortByColumns(Filter([@'Inside Trading List'], StartsWith(Title, TextSearchBox1.Text)), "Title", If(SortDescending1, SortOrder.Descending, SortOrder.Ascending)) &
Filter([@'Inside Trading List'], Category = Dropdown1.Selected.Result)