I'm trying to filter a gallery using one dropdown and one text input/search bar, and I'm having trouble getting both of them to work at the same time. I'm used to Excel where I can nest If statements easily, but I'm running into issues in PowerApps. What I have now is:
If(IsBlank(drpColor) && IsBlank(TextInput1), 'Shoe Inventory Finals', If(IsBlank(drpColor) && !IsBlank(TextInput1), Search('Shoe Inventory Finals', TextInput1.Text, "cr1ae_productname", If(!IsBlank(drpColor && IsBlank(TextInput1), Filter('Shoe Inventory Finals', Color = drpColor.Selected.Value, Search(Filter('Shoe Inventory Finals', Color = drpColor.Selected.Value), TextInput1.Text, "cr1ae_productname")
What I want it to do is check if both the dropdown and the input are blank, and return the whole table if true. If not true, check if only one is blank and filter appropriately. If none of these conditions are true, meaning both the dropdown and the text input are not blank, I want to filter the list based on both of them.
Thanks in advance!!