@joshieboy
Sure thing. So for the 4 different filters you want, you will need to decide if your design will provide filtering by multiple items (i.e. multiple Status, multiple month, etc.) or if you will be filtering by single picks. This will determine if you will use a dropdown control or a combobox control. Either is fine, but the combobox will introduce some delegation concerns - so this will also depend on your data source size.
Essentially, if you have dropdowns like so:
Year dropdown named drpYear with an Items property of ForAll(Sequence(x), startYear + Value) This is somewhat static and not related to the data in regard to years, but it is quick. Replace the x with the number of years to make available to filter and then startYear with the starting year number.
Month dropdown named drpMonth with an Items property of ForAll(Sequence(12), {Value: Value, MonthName: Last(FirstN(Calendar.MonthsShort(), Value)).Value}) This will give you a dropdown with all the months and their numeric and descriptive names.
Investigative status and Level you're kind of on your own for with the Items property as I don't know them, but they can be as simple as ["Status1", "Status2", etc..] Let's call them drpStatus and drpLevel.
Set the AllowEmptySelection property of all of the dropdowns to true and then set the Default property of all of them to Blank()
Now for your Gallery, the filter would be this:
SortByColumns(
Search(
Filter('Initial Incident Notification',
(IsBlank(drpYear.Value) || yourYearColumn = drpYear.Value) &&
(IsBlank(drpMonth.Value) || yourMonthColumn = drpMonth.Value) &&
(IsBlank(drpStatus.Value) || yourStatusColumn = drpStatus.Value) &&
(IsBlank(drpLevel.Value) || yourLevelColumn = drpLevel.Value)
),
SearchBox.Text, 'ImmediateActionstobetaken', 'DescriptionofIncident'
),
"Created", Descending
)
That will be all you need for the above scenario. If you want multiple select, then there are some changes to put in place, but if not, the above will give you what you are looking for.
See how that gets things for you.