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.
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.