Remove duplicate data from a list
In Power Automate Desktop, a variable that can hold multiple values is called a “list”.
This article explains how to remove duplicate data from the values stored in a list.
Implement by copying and pasting
Section titled “Implement by copying and pasting”Copy the following code and paste it into the Power Automate Desktop flow designer to add the actions.
Variables.CreateNewList List=> ListVariables.AddItemToList Item: 3 List: List NewList=> ListVariables.AddItemToList Item: 1 List: List NewList=> ListVariables.AddItemToList Item: 1 List: List NewList=> ListVariables.AddItemToList Item: 2 List: List NewList=> ListVariables.RemoveDuplicateItemsFromList List: List IgnoreCase: False NewList=> ListImplement in Power Automate Desktop
Section titled “Implement in Power Automate Desktop”- In “Search actions”, type “Remove duplicate items from list”.
- Select the target list. When you run the flow, duplicate items are removed from the list so that each item is unique.