@RandyHayes
Hello Randy,
I hope you had a nice weekend. I was working on a Power App over the weekend. The colored status buttons are filters for the gallery on the right when pressed. They are working fine to filter the gallery, but when I click the Reset button, I want them to default to the All Tasks view. All of the other filter controls are resetting fine (search, timeline filter, etc.). I haven't played with button filters before. Can you let me know what to do? My formulas are below the gallery screenshot. I'm using your toggle method. Let me know if there is any additional info you need. Thanks!

Gallery Items formula:
With(
{
galItemsTS: AddColumns(
Filter(
'Transfer and Promotion Tasks',
txtSearchActionTS.Text in 'Action Item',
'Parent ID' = varRecord.ID && (Status.Value = galStatusFiltersTrans.Selected.Value || galStatusFiltersTrans.Selected.Value = "All"),
!ckMyTasksTrans.Value || 'Assigned To Email' = varUser.Email
),
"time",
Timeline
)
},
DropColumns(
SortByColumns(
Filter(
galItemsTS,
If(
CountRows(lclFilterTS.time) > 0,
Timeline in lclFilterTS.time,
true
)
),
Coalesce(
locSortColumn,
"Title"
),
If(
locSortAscending,
Ascending,
Descending
)
),
"time"
)
)
tglFilter Default formula (not sure what to add to this). OnChange is set to true.
(!IsBlank(lclFilterTS.time) && CountRows(lclFilterTS.time) > 0)
tglReset OnCheck (not sure what to add to this either). Both the OnSelect and the Default properties are set to varClearFilters.
Reset(cbTimelineFilterTS);
Select(btnApplyFiltersTS);
Reset(tglExpandTrans);
Reset(txtSearchActionTS);
Set(
varClearFilters,
false
)
Reset Button OnSelect:
Set(
varClearFilters,
true
);
UpdateContext(
{
locSortColumn: "Title",
locSortAscending: true
}
)
Thanks Randy,
Teresa