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 Apps / Add ID from one List t...
Power Apps
Unanswered

Add ID from one List to another List based on matching code

(0) ShareShare
ReportReport
Posted on by 102

Hi I have two tables which are both Sharepoint List

I am trying to find a solution to add the ID number from the master_list to the profile_list

the master_list countains unique accounts , and the profile_list contains multiple rows of data linked to the master_list by code.

example master_list 

ID     Code           Name

01     DD              Daves Dodgems

02     FF                Fred's Fries

 

master_profiles

 

Code       Region             Owner

DD           EUR                 Bob

DD           NOA                Alan

FF            EUR                  Steve

FF            MDE                 Brian

FF            NOA                 Rachel

 

I need to loop through all the rows in the master list and where the code is matched in the master_profiles list add the master_list ID to the matched master_profiles , so it would like this

 

master_profiles    fixed

 

Code       Region             Owner     AccountID

DD           EUR                 Bob          1

DD           NOA                Alan         1

FF            EUR                  Steve        2

FF            MDE                 Brian        2

FF            NOA                 Rachel      2

 

Is this possible ???

 

 

Categories:
I have the same question (0)
  • JayMagness Profile Picture
    1,663 on at

    Hi,

     

    I assume you are wanting to do this is the gallery try using lookup function.

    Create a relationship between tables by using a lookup column - Power Apps | Microsoft Learn

     

  • JD_26 Profile Picture
    102 on at

    i was looking to have a button where I could run this , a bit like what I was doing when changing values just in one list

    UpdateIf(Master_List, field_4 ="NOA",{Rep : "DD"})

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard