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 / Update Sharepoint one ...
Power Automate
Unanswered

Update Sharepoint one column only

(0) ShareShare
ReportReport
Posted on by 997 Super User 2024 Season 1

Hi, I'm trying to subtract the leave balance from who requested the leave. The flow I created manages to subtract the leave balance based on leave type but it subtracts all balance that leave type has, doesn't matter who. I want to update the column that only the requester from the Leave Request list that makes the request. How to just update one column?

anonymous21_0-1655946976352.pngthe only field I want to be updated based on who made the request

 

this is my flow

anonymous21_1-1655947267741.png

anonymous21_2-1655947303947.png

anonymous21_3-1655947333892.png

anonymous21_0-1655947582020.png

 

 

Thank you.

 

 

Categories:
I have the same question (0)
  • 365-Assist Profile Picture
    2,324 Moderator on at

    Why do you need Get Items from Leave Request List don't you already have that information from the Trigger When an Item is Created or Modified?

     


    ---------------------------------------------------
    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

    Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
    Twitter: https://twitter.com/assist_365

    Regards
    Darren Lutchner - 365 Assist

     

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    @365-Assist Because I'm filtering the Leave Type value from the list

  • 365-Assist Profile Picture
    2,324 Moderator on at

    Do you have a person column and how do you filter by that particular person?

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    @365-Assist I have a person column, it's in the Leave Request list. I tried this way but doesn't work.

    anonymous21_0-1655965427319.png

    anonymous21_1-1655965466814.png

    I filter the name and use Apply to Each for the value but still, it subtracts all rows.

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    @365-Assist 

    anonymous21_2-1655966845245.png

    the flow runs successfully and the output of the Update Item only appears the person who made the request. But in the Leave Balance list, it still subtracts all rows.

  • Pstork1 Profile Picture
    68,899 Most Valuable Professional on at

    Can you show more of the Leave Balance List?  Do you have a record in that list for each user?  How is the user recorded in that list?

  • syhrh Profile Picture
    997 Super User 2024 Season 1 on at

    @Pstork1 

    This is the Leave Balance list

    anonymous21_0-1656030823752.png

    The Leave Balance list is updated once new employees are added to Employee list with their number of leave balance

     

  • Pstork1 Profile Picture
    68,899 Most Valuable Professional on at

    So to update just the one field in the one record you need to filter the get items on that list using the employee name and year from the information return by the trigger.  That will leave you with an array that has only one record in it.  Since its an array it will still use an apply to each, but then you just update that one record because that is all that's left in the array.  You can filter the list either using an Odata query or a filter array.

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 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard