I have an Excel file with a column that contains duplicate values. The idea here is to capture rows from a specific column, parse them to JSON then select the itemid value, followed up a union operation:
Then I used a join expression on the output of the union and assigned it to a variable:
Finally at the end there is an Update item connector to push this to SharePoint, where I get the following output in a multiple lines of text column. Is there a way to get this output in a more readable format such as 26109, 23913...etc ?
Below is a snippet of the specific connectors used in my flow:
Solved! Go to Solution.
This is excellent, thank you!
Just to add, I used the union output in the Apply to each function. Then I followed the subsequent steps and added a substring expression to get the expected output.
I know this is an old topic, but you can do what you want fairly easily without the Apply to each loop. This is something I have done with email lists.
Easiest way is to change your Select statement to select only the numbers without the "Itemid" key.
Change the Select to 'text' mode instead of key-value mode using the option on the right.
This will map only the id numbers in an array. Use the join to get them in a comma separated list.
The other option would be to use the Replace expression to remove the undesired characters from your string before sending to SharePoint. But I prefer the select using text mode.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.