Hi @Anonymous,
I think the issue here might be caused by the fields not matching correctly.
Could the Button be switched to a Dropdown control? Which then could be built based on the data within the List.
Please take a try with the steps below:
1. Under the OnVisible property of the first screen, enter the following:
Collect(ClearCollect(DataCollection,{Result:"All"}),Distinct(SubmissionForm,SupportDepartment))
The formula above would collect all the available Department contains within the list, together with the All status,
2. Add a dropdown control, under the items property, enter the following:
DataCollection
Dropdown item would be set to the one collected previously,
3. under the Items property of the Gallery, switch the formula as below:
If(Dropdown1.Selected.Value="All",
SortByColumns(Filter(SubmissionForm, Employee = MyEmail), UniqueID, Ascending),
SortByColumns(Filter(SubmissionForm, SupportDepartment=Dropdown1.Selected.Value, Employee = MyEmail) ), UniqueID, Ascending)
)
Then within the Gallery, filter the list with the proper condition (Dropdown.selected.value).
Let me know if this would work.
Regards,
Michael