Hi all,
I have a SharePoint list which contains a Multi-Select Choice Column.
In a Canvas Power App I want to filter a Gallery when a string, entered by a user in a Text Box on the page, precisely/fully matches one of the potential choices in the source data.
For example:
Choices in the SharePoint record, with the column named 'Colours': Black, Blue, Green.
When a user enters the phrase 'Black', the record is returned. When the user enters the phrase 'Blac' the record is not returned as it's not a complete match of any of the choices.
I have wasted a deal of time on this so far attempting to use IsMatch, but that will not accept a 'dynamic' input (such as a text input, variable, etc). So, this worked in testing but does not work for my use case as I need the input value to be dynamic:
Filter(SharePointListName, IsMatch(Concat(Colours,Value), "Black",MatchOptions.Contains))
I then succeeded in using a Filter but this will return the record when part of the string matches, not the entire string.
Filter(SharePointListName, TextInput1.Text in Concat(Colours,Value))
As always, any help very much appreciated. Thank you!