Hello
Foreword: I'm using modern controls, so the text inputs below would use .Value instead of .Text
I am filtering a gallery using the Search() function on multiple columns, to return records from a table that have the text from tiSearch.Value in the columns specified:
Search(
[@'DataverseTableName'], //table to search
tiSearch.Value, //text value used as search criteria
'Example Column1', //column to search
'Example Column2' //column to search
)
This would return any records that have the text from tiSearch in either of the columns 'Example Column1' or 'Example Column2'
ex: tiSearch text is "Frank", it would return records with "Frank" in the above columns
Say I want to comma-delimit my search criteria, say I want to search "Frank, 2024" - where I want to return results that contain either "Frank" or "2024" in either those columns?
Is such a thing possible?
Something like this?
Search(
[@'DataverseTableName'],
ForAll(Split(tiSearch.Value, ","),TrimEnds(Value)),
'Example Column1',
'Example Column2'
)