cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Multiple people picker values in FLOW

Hello,

 

I am using GetItems to get from a SharePoint list, I have multiple people chosen in the 'Owner' field and would like to concatenate them into a single item.

 

I was able to build the flow with 2 Apply to Each loops one embedded in the other, the output shows each loop generating the desired value and I'm appending this to an array variable, however when calling the variable from a HTML table, it seems to combine all of them under the header, is there a workaround for this ?

 

Here's my flow:

 

Capture.PNG

Variable 2 is a String

Variable 1 is an Array

Compose has this:

 

concat(items('Apply_to_each_2')?['DisplayName'],';',variables('OwnerList'))
Thanks !
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Multiple people picker values in FLOW

Hi @TRISTAR ,

 

Could you give an example of the specific effect of HTML table you want?

 

If you want to arrange the Display of everyone in Multiple people choices in a line with a semicolon, you could refer to the following method.

  • The basic structure is similar to yours, but I use String variable to store DisplayName of all the users in the current item.
  • Then use an array variable to append the field that need to be displayed in HTML Table.
  • The last step of Apply to each needs to clear String variable so that only DisplayName contained in the current item is retained in String variable.

 

Image reference:32.PNG

 

33.PNG

 

34.PNGFlow run history:35.PNG

 

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Multiple people picker values in FLOW

Hi @TRISTAR ,

 

Could you give an example of the specific effect of HTML table you want?

 

If you want to arrange the Display of everyone in Multiple people choices in a line with a semicolon, you could refer to the following method.

  • The basic structure is similar to yours, but I use String variable to store DisplayName of all the users in the current item.
  • Then use an array variable to append the field that need to be displayed in HTML Table.
  • The last step of Apply to each needs to clear String variable so that only DisplayName contained in the current item is retained in String variable.

 

Image reference:32.PNG

 

33.PNG

 

34.PNGFlow run history:35.PNG

 

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

New Member

Re: Multiple people picker values in FLOW

Thanks much Barry, I had all the other pieces except the part where the Array had the specific column header and value updated.

 

Your code worked like a charm, thanks a ton !!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (7,731)