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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint - How to as...
Power Automate
Suggested Answer

SharePoint - How to assign a value based on another column?

(0) ShareShare
ReportReport
Posted on by 205

Dear Experts,

I have two SharePoint lists like so:

If in list A, I enter values ​​for the columns: Country, Color, GB
then list B will be updated with corresponding values.

Can you please share with me how to assign value in List B based on another column from List A?

Thanks a lot!

ROSE

Categories:
I have the same question (0)
  • Suggested answer
    ankit_singhal Profile Picture
    590 Super User 2025 Season 2 on at
    You can get updated values from list A and create a new row with those values in list B. 
     
    Note: Please Mark verified, if it is useful for you 
  • ROSEBLACK Profile Picture
    205 on at
     
    In the Power Automate flow described, a loop (Apply to Each) is automatically created when updating items in List B because the "Get Items" action retrieves multiple records. How to End the Loop?
     
    Thanks a lot!
    ROSE
  • ankit_singhal Profile Picture
    590 Super User 2025 Season 2 on at
    You don't need to use get items, if you use update a row trigger then fetch the updated values from trigger body. Also, if you want to use get row then you need to fetch only last updated row so then your loop will be run only one time,
     
    Note: Please mark verified, if it is useful for you 
     
     
  • ROSEBLACK Profile Picture
    205 on at
     
    I think the flow should still be Get items & Conditional.
    This ensures the flow retrieves only the matching items in List B where the Title and Country are the same as in List A.
     
    Example:
    If we add Apple | UK | Blue | 50 to List A, the flow searches in List B for Title = "Blue" (Color in List A) and Country ="UK" (Country in List A).
    If "Blue" does not exist, create a new item.
    If we change the value from 50 to 20 (GB in List A) -> Update item in list B (GB ="20")
     
    Thanks a lot!
    ROSE

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard