cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TRISTAR
Level: Power Up

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
Community Support Team
Community Support Team

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
Community Support Team
Community Support Team

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

TRISTAR
Level: Power Up

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,065)