Hello PowerApps Community,
Is there any way to Compare a list of collection items against SharePoint MultinLine text value in PowerApps?
Here is my scenario, I have a sharePoint multi-line column with multiple lines of names and I'm trying to compare the column with
a Collection of names entered by the user in PowerApps. Do I need to use flow or can this be done in PowerApps? Thank you!
Could you please share a bit more about your scenario?
How do you want to compare the multi-line type column with the Collection of names within a PowerApps app?
If you want to compare the multiple lines of text type column within a Collection of names within an app, please make sure that you have turned on/enabled the "Use enhanced rich text (Rich text with pictures, tables and hyperlinks)" option for the Multiple lines of text type column as below:
After that, you could split the Multiple lines of text type column value into a table value using Split function, and then you could compare the table value with a Collection within your app.
I have created a SP list on my side, the data structure as below (only have one item):
Note: The EmployeeNames is a Multiple lines of text type column, which has enabled the "Use enhanced rich text (Rich text with pictures, tables and hyperlinks)" option.
In order to split a Multiple lines of Text type column value (of the first item) into a Table value, add a Data table control within the screen of my app, set the Items property to following formula:
The Table value shows up as below:
Add a Button control (Called "Add Collection") within the screen of my app, set the OnSelect property of the Button control to following formula:
The Collection shows up as below:
I assume that you want to compare the Table value within the Collection value within an app, if the Name within the Collection has been existed within the Table value, set IsExisted field to true, otherwise, set IsExisted field to false.
Add a "Compare" button within the screen of my app, set the OnSelect property of this Button control to following formula:
The Collection would show up as below after clicking the "Compare" button:
Note: The "20180823_case9" represents the SP list data source within my app.
The whole screenshot as below:
Hey Kris, I followed the step by step process but the data table result gives me a html instead of the record values of the column. See the attached screenshots. Am I doing something wrong?
Just an update -- It is my fault, I have made a test on my side, the issue is confirmed on my side.
I afraid that there is no way to achieve your needs in PowerApps currently. If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
Check it out!
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand