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:
union(body('Select'),body('Select'))
Then I used a join expression on the output of the union and assigned it to a variable:
join(outputs('Remove_duplicate_details'),',')
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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
65 | |
23 | |
16 | |
15 | |
11 |
User | Count |
---|---|
116 | |
35 | |
30 | |
28 | |
26 |