I have a Power App with a SQL connector not Azure SQL. I have gallery which needs to be filtered using multiple fields. I need to filter by dropdowns not comboboxes, text input, toggle, and checkboxes. I was able to get all of the checkboxes to work. However, when I attempt to integrate a dropdown into the filter statement everything breaks. For more context the checkboxes are a category and the dropdowns are a subcategory. So if I select a check box it should filter and show all in the category. But if I select a checkbox and a dropdown it should filter and show the specific category and the sub-category based on the checkbox. I've also experienced I select a two checkboxes and values from another checkbox which is not checked is showing in the filtered results. I have no way to change the data structure. I've been struggling for weeks.
Filter(datasource, datasourcecheckbox = chkbx1, datasourcecheckbox2 = chkbx2, datasourcecheckbox3 = chkbx3, datasourcedd1= dd1.selected, datasource2=dd2.selected, datasourcetext = txtName)