Re: Export SharePoint List to CSV with Multi People picker fields
@indras111
You will need to use a Select and Join action in your case.
Select Action
Insert a select action into the Apply to each action. In the From field, select the dynamic content with the name of the column that is storing your multi-choice people values.
In the Map field, select the icon to the right of the field to change mode from map mode to key value mode. Select the dynamic content property of the column. In my case I selected the Display Name.

Important: Once you select a dynamic content property, your Select action will automatically nest itself inside an Apply to Each action. Drag the Select action OUTSIDE of the apply to each action (the one that was just added) and delete it.

It should still be nested within your original Apply to Each action.

Convert the Array to a String
Add a Join action to your flow to convert the array (Select action output) to a String. In the From field, insert the outputs from the Select action.
In the Join with field, insert the separator you'd like between each item. In my case I put a comma and a space.

You can now insert the outputs from the Join action into the Create CSV Table action.
Hope this helps!
If I helped you solve your problem—please mark my post as a solution ✅. Consider giving me a 👍 if you liked my response!
|