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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating an sharepoint...
Power Automate
Unanswered

Updating an sharepoint item based on another item

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 

 have an app with companies which trade may trade with each other. The goal of the app is for users to indicate which company can trade with each other. In sum all data is stored in a table like:

rafaelcosta_0-1626859885916.png

 As there are about 83 companies, I created a PowerApps gallery to ask users to indicate such trading capability.  

 

My problem is: A trade goes both ways, if A can trade with B, B can trade with A. How to I update the Trade value of "B trading with A" when user select "A trading with B"?

 

I thought of loging the change to powerapps in sharepoint and doing the update on the opposite value through Power Automate. My first idea was to create an Marker column with the combination of origin and destination and use such relationship and use that as identifier in power automate to update the trade column.

 

rafaelcosta_2-1626859885731.png

 

But I couldn't figure how to add such action in Power Automate as 'Sharepoint Update item' sharepoint requires an ID value. How can I trace the ID of the opposing selection? In my example Marker AB.ID = 1 and its opposing Marker, BA.ID = 4. How I tell Power Automate to change ID 4 with the same Trade Value of ID 1?

 

rafaelcosta_3-1626860096724.png

 

Any suggestions on how to update this? I am open to going different directions to solve this problem.

 

Thanks for the support!

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    To get the ID, you can use the Get items action and specify a filter where Origin eq 'Company B' and Destination eq 'Company A'.   

     

    ericcheng_0-1626860726452.png

     

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

  • Community Power Platform Member Profile Picture
    on at

    @eric-cheng , This is a solution but not a practical one, as I would need to map all possibilities and as I stated on the problem there are 83x83 of them 😞 I am searching a way to Power Automate to do this automatically

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!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard