Notifications
Announcements
To achieve this in Power Automate, follow these steps:
ID
Power Automate does not have a built-in "Remove Duplicates" function, so we need to use an Array Union Trick:
Use the "Select" action to format the row data.
Use a "Compose" action with the following expression to remove duplicates:
union(body('Select'), body('Select'))
This removes duplicate values because union() merges arrays and automatically removes duplicates.
union()
Use another "Filter array" action.
In From, select the output of the previous "Compose" step.
Set the condition to remove blank values:
item()
is not equal to
''
Use a "Join" action to convert the filtered array into a single string:
,
Finally, use the "Return value(s) to Power Virtual Agents" action (if using Copilot Studio as a bot backend).
Your Copilot Studio will receive a clean, unique, and formatted row data without duplicates or blank values. Hope it helps!!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 255 Super User 2025 Season 2
Romain The Low-Code... 205 Super User 2025 Season 2
S-Venkadesh 101 Moderator