web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can I get values c...
Power Automate
Answered

How can I get values corresponding to an array ?

(1) ShareShare
ReportReport
Posted on by 6

Good evening everyone, 

 

I'm pretty much a Power Automate beginner and have succeeded in solving most of my issues thanks to this precious forum's passed messages, but there is one problem I cannot solve.

 

In the company I work in, we have a Sharepoint list in which each item is a user. Each user has several "Other MUs covered" that are attached to it, thanks to a multi-choice column that is filled manually.

l_lhomme_0-1720024567508.png

 

Each of these MU has a matching RU. We have a correspondence table in an Excel file stored in my personal OneDrive. It is pretty straightforward :

 

l_lhomme_1-1720025089091.png

 

I am trying to build a flow launched for a specific item from the Sharepoint list that would get every RU corresponding to each MU in the "Other MUs covered" and copy it in the "Other RUs covered" of this Sharepoint list. 

 

I have managed to do the basic stuff : "Get item" + "Select" action on the "Other MUs covered" column to get only the MU's names... but I don't know how to design the heart of the flow, which is to get the matching RU for every MU I get in this filtered array and update the "Other RUs covered" with the result. All my attempts have failed.

 

Anyone has an idea ? 😄

 

Best wishes

 

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,383 Most Valuable Professional on at
    1. Do a list rows on the Excel File to load the Table of RUs into memory.
    2. Then do an apply to each on the array of MUs in a record
    3. Inside the array use the Current MU to filter the list of RUs to get the matching RU and append that record to an array variable
    4. When you exit the list add array variable with the list of RUs to the record.
  • l_lhomme Profile Picture
    6 on at

    Thanks @Pstork1, it's now working fine !

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard