I have a column 'StateNames' in a Dataverse table, where I store a comma delimited string of state names like "Texas, California, Virginia" etc.
Now I have a multi-select combo box on the screen which lists out state names, which is coming from a States Master Table.
When the user picks couple of states from the combo box and clicks on the Search button, I am trying to do this:
Filter(myTable, IsEmpty(cboStates.SelectedItems) || StateNames in cboStates.SelectedItems); and it throws an error: "Invalid Schema. Expected a one-column table".
Can you please help me get past this error? I know it is flawed as both are 'many' strings. I just can't figure out how I can search for each state selected in a loop and go look for it "in" the StateNames column. Should I have to use ForAll here?
Thanks