Hello,
I have a gallery which can be filtered depending on two drop down selections, a search field and I can sort the list alphabetically.
Here is the search/filter/sort bar:

For this i have written the following code (Items in the gallery):
SortByColumns(
Filter(
'DS PAS Dummy Shipments';
IsBlank(Dropdown4_1.Selected.Value) || IsEmpty(Dropdown4_1.Selected.Value) || Land.Value = Dropdown4_1.Selected.Value;
IsBlank(Dropdown4.Selected.Value) || IsEmpty(Dropdown4.Selected.Value) || Status.Value = Dropdown4.Selected.Value;
!IsBlank(Dropdown4.Selected.Value) || !IsEmpty(Dropdown4.Selected.Value) || Status.Value = Dropdown4.Selected.Value;
StartsWith(
'DS Number';
Searchbox.Text
) || StartsWith(
Supplier;
Searchbox.Text
) || StartsWith(
'Center code';
Searchbox.Text
)
);
varSortColumn;
varSortDirection
)
On the sharepoint there is a column for "status" and I would like the gallery generally to not list "closed" items.
I did not manage to do so, even with some reserch in the internet.
Any ideas?
Thank you in advance