Hello Community,
Is there any way can make filter status by selecting buttons?
I am using this formula and work for me for different buttons. now i want one more button can filter all open ticket expects closed. so, i created button name is open tickets' want when i click on open ticket should filter all tickets. Expects closed tickets.
here is my formula for filter search and dropdowns.
Sort(
With(
{
_IsAdmin: !IsBlank(
LookUp(
'User ID Hanhelp',
'Admin '.DisplayName = User().FullName
)
),
_UserProperty: LookUp(
'HH Power App',
'Created By'.DisplayName = User().FullName && Property.Value = Dropdown5.Selected.Value
).Property.Value
},
Filter(
'HH Power App',
('Created By'.DisplayName = User().FullName || _IsAdmin || Property.Value = _UserProperty),
(IsBlank(TextInput6.Text) || ID = If(
IsBlank(TextInput6.Text),
-1,
Value(TextInput6.Text)
)),
(IsBlank(varStatusFilter) || Status.Value = varStatusFilter),
(IsBlank(Dropdown2.Selected.Value) || Dropdown2.Selected.Value = Category.Value),
(IsBlank(Dropdown3.Selected.Value) || Dropdown3.SelectedText.Value = Priority.Value),
(IsBlank(Dropdown5.Selected.Value) || Dropdown5.SelectedText.Value = Property.Value),
(IsBlank(Dropdown4.Selected.Value) || Dropdown4.Selected.Value = 'Assigned Analyst'.DisplayName)
)
),
ID,
SortOrder.Descending
)

here is all button Property.

this formula is work better without any delegation.
is there any way to add one more condition for open tickets?