Hi i All following code on my gallery items,
i already have sortby filed which is sorting with names, but i also want that this should sort based on date selected.
The code does not show any error, but this is also not updating the gallery items according to the specific date selected.
please note: the formula works on search items by name, and sort by ascending descending, but this is not working for datepicker1.selected date why?
please see code below
SortByColumns(
Filter(
'Petty Cash & GL Code',
// here we are saying that the status variable must be "All",
// which will then not filter any items, or else the status must match the variable
StatusResult="All" || Status = StatusResult,
// here we are saying, the textbox text is a blank or else it must
// additionally filter the above by EmployeeName based on the Textbox Text
SearchBox.Text = "" || StartsWith('Full Name', SearchBox.Text) ||( Created =(DatePicker1.SelectedDate))
),
"Title",
If(SortDescending1, Descending, Ascending)
)
Please correct me if I'm wrong somewhere. thanks