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

3 REPLIES 3
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

Highlighted
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 !!

Highlighted
Post Prodigy
Post Prodigy

Re: Multiple people picker values in FLOW

@v-bacao-msftyou are a Rockstar, thank you so much for sharing this solution!!!

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (5,520)