This is my formula for the 5 text inputs.
If(
//DEFAULT FILTER BY ALL THE FILTERS ARE EMPTY #1
IsBlank(inputCompanyName) And IsBlank('inputManager/Leader') And IsBlank(inputRefundClaimForm) And IsBlank(inputTR1Reviewer),
colProcesses,
//FILTER BY CLIENT NAME ONLY #2
!IsBlank(inputCompanyName) And IsBlank('inputManager/Leader') And IsBlank(inputRefundClaimForm) And IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputCompanyName.Text in Companyname),
//FILTER BY MANAGER/LEADER ONLY #3
IsBlank(inputCompanyName) And !IsBlank('inputManager/Leader') And IsBlank(inputRefundClaimForm) And IsBlank(inputTR1Reviewer),
Filter(colProcesses,'inputManager/Leader'.Text in 'Manager/Leader'),
//FILTER BY REFUND CLAIM FORM #4
IsBlank(inputCompanyName) And IsBlank('inputManager/Leader') And !IsBlank(inputRefundClaimForm) And IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputRefundClaimForm.Text in 'RefundClaimForm?'),
//FILTER BY TR 1FR REVIEWER #5
IsBlank(inputCompanyName) And IsBlank('inputManager/Leader') And IsBlank(inputRefundClaimForm) And !IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputTR1Reviewer.Text in TR1stReveiewer),
//FILTER BY COMPANY AND MANAGER/LEADER #6
!IsBlank(inputCompanyName) And !IsBlank('inputManager/Leader') And IsBlank(inputRefundClaimForm) And IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputCompanyName.Text in Companyname And 'inputManager/Leader'.Text in 'Manager/Leader'),
//FILTER BY COMPANY AND REFUND CLAIM FORM #7
!IsBlank(inputCompanyName) And IsBlank('inputManager/Leader') And !IsBlank(inputRefundClaimForm) And IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputCompanyName.Text in Companyname And inputRefundClaimForm.Text in 'RefundClaimForm?'),
//FILTER BY COMPANYNAME AND TR1STREVIEWER #8
!IsBlank(inputCompanyName) And IsBlank('inputManager/Leader') And IsBlank(inputRefundClaimForm) And !IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputCompanyName.Text in Companyname And inputTR1Reviewer.Text in TR1stReveiewer),
//FILTER BY MANAGER/LEADER AND REFUND CLAIM FORM #9
IsBlank(inputCompanyName) And !IsBlank('inputManager/Leader') And !IsBlank(inputRefundClaimForm) And IsBlank(inputTR1Reviewer),
Filter(colProcesses,'inputManager/Leader'.Text in 'Manager/Leader' And inputRefundClaimForm.Text in 'RefundClaimForm?'),
//FILTER BY MANAGER/LEADER AND TR1STREVIEWER #10
IsBlank(inputCompanyName) And !IsBlank('inputManager/Leader') And IsBlank(inputRefundClaimForm) And !IsBlank(inputTR1Reviewer),
Filter(colProcesses,'inputManager/Leader'.Text in 'Manager/Leader' And inputTR1Reviewer.Text in TR1stReveiewer),
//FILTER BY REFUND CLAIM FORM AND TR1STREVIEWER#11
IsBlank(inputCompanyName) And IsBlank('inputManager/Leader') And !IsBlank(inputRefundClaimForm) And !IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputRefundClaimForm.Text in 'RefundClaimForm?' And inputTR1Reviewer.Text in TR1stReveiewer),
//FILTER BY ALL OF THEM #12
!IsBlank(inputCompanyName) And !IsBlank('inputManager/Leader') And !IsBlank(inputRefundClaimForm) And !IsBlank(inputTR1Reviewer),
Filter(colProcesses, inputCompanyName.Text in Companyname And 'inputManager/Leader'.Text in 'Manager/Leader' And
inputRefundClaimForm.Text in 'RefundClaimForm?' And inputTR1Reviewer.Text in TR1stReveiewer),
//FILTER BY NAME, MANAGER AND REFUND CLAIM FORM #13
!IsBlank(inputCompanyName) And !IsBlank('inputManager/Leader') And !IsBlank(inputRefundClaimForm) And IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputCompanyName.Text in Companyname And inputRefundClaimForm.Text in 'RefundClaimForm?' And 'inputManager/Leader'.Text in 'Manager/Leader'),
//FILTER BY MANAGER,REFUND CLAIM FORM AND TR1STREVIEWER#14
IsBlank(inputCompanyName) And !IsBlank('inputManager/Leader') And !IsBlank(inputRefundClaimForm) And !IsBlank(inputTR1Reviewer),
Filter(colProcesses,'inputManager/Leader'.Text in 'Manager/Leader' And inputRefundClaimForm.Text in 'RefundClaimForm?' And inputTR1Reviewer.Text in TR1stReveiewer),
//FILTER BY CLIENTNAME, REFUND CLAIM FORM AND TR1STREVIEWER#15
!IsBlank(inputCompanyName) And IsBlank('inputManager/Leader') And !IsBlank(inputRefundClaimForm) And !IsBlank(inputTR1Reviewer),
Filter(colProcesses,inputCompanyName.Text in Companyname And inputRefundClaimForm.Text in 'RefundClaimForm?' And inputTR1Reviewer.Text in TR1stReveiewer),
) //Closing IF
Then to filter by a range of days would be like this:
Filter(
colProcesses,
'Month audit completion planned' >= MonthPlannedSTARTPicker.SelectedDate && 'Month audit completion planned' <= MonthPlannedENDPicker.SelectedDate,
DateSentForPrinting >= SentForPrintingSTARTPicker.SelectedDate && DateSentForPrinting <= SentForPrintingENDPicker.SelectedDate,
YearEnd >= YearEndFROMPicker.SelectedDate && YearEnd <= YearEndTOPicker.SelectedDate
)//Filter
I have another 3 range of dates to filter by.
Here I got stuck cause didn't manage to integrate those different filters in one and actually the booleans I'm not sure how to do it, would be like this:
Filter(colProcesses, PytReady = true) but this needs to be a checkbox I believe.
I have no clue on how to ingrate all of those different validations in a filter function.
A workaround that I though off was... placing a Combobox with the column names to filter by text and text input in front of it to type the criteria like this Filter(colProcesses, ComboBox.Selected.ColumnName = TextInput.Text) but the gallery shows nothing 😖 also I tried with the dates but got an empty gallery.