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 / Update a SharePoint li...
Power Automate
Answered

Update a SharePoint list column value based on another column value

(0) ShareShare
ReportReport
Posted on by

I have a SharePoint list and using Power Automate, I want to populate a column based on the value of another column.

To explain it simply, let's talk about only the two columns involved.

Column A = Issue Category (multiple selection)

ex. Category 1, Category 2, Category 3

Column B = Assigned To (multiple selection based on the values in Column A)

ex. POC 1, POC 2, POC 3

 

The trigger I'm using is "When an item is created or modified"

 

So for example, a user created an entry:

Column A = Category 1 and Category 3

 

This should populate Column B with POC 1 and POC 3.

 

If the user updates the item and removed Category 3 in Column A, then the flow should also be able to remove POC 3 in Column B.

 

In the same way, if the user updates the item and added Category 4 in Column A, then the flow should also be able to add POC 4 in Column B.

 

I appreciate all your help! I don't know how to proceed.

 

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @LOPEZCF ,

     

    If choices in ColumnA are ' Category number' format and choices in ColumnB are 'POC number' format, you can use 'replace' in expression to change 'Category' with 'POC'. Then put the result in ColumnB.

    Please try this:

    testChoice->ColumnA

    testChoice2->ColumnB

    vmengmlimsft_0-1700105167769.png

    The update item action:

    Add output of select in ColumnB.

    vmengmlimsft_2-1700105529886.png

     

    vmengmlimsft_1-1700105444995.png

     

    The expression in Select action:

    replace(item()?['Value'],'Category','POC')

     

     

    Thanks for reading!

    Rimmon

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 538

Last 30 days Overall leaderboard