Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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.

 

  • Verified answer
    v-mengmli-msft Profile Picture
    on at
    Re: Update a SharePoint list column value based on another column value

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow