I have a SQL table with around 7K rows. I'm trying to filter my gallery based on a TextInput and Dropdown. I can get the logic to work separately and it appears to mostly work together and I'm unsure what I'm doing wrong. I've done this before and am racking my brain trying to figure out where I'm messing up.
Searching for "dw_" should return 631 results which it does for this code:
Search('[app].[vw_metadata_dataset]',TextInput1.Text, "Name")
However, when I combine it with the dropdown filter, I get 0 results:
Search(If(IsBlank(Dropdown2.Selected.Value),'[app].[vw_metadata_dataset]', Filter('[app].[vw_metadata_dataset]', Type = AssetType)), TextInput1.Text, "Name")
When Dropdown2 is blank, it should show all asset types.

Report
All responses (
Answers (