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 Apps
Answered

Patch Function

(0) ShareShare
ReportReport
Posted on by 372

Hi,

 

I want to patch column 'Masuk Apps' which has the same 'No. PO'.

I used this formula, 

Patch(
'Recap SOW',
LookUp(
Filter(
'Recap SOW',
'No. PO' = ThisItem.'SO/PO/WBS'
),
'No. PO' = ThisItem.'SO/PO/WBS'
),
{'Masuk Apps': "Proses sudah dilewati"}
)

but, cant work. Can anyone help me? Thankyou!

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,565 Super User 2026 Season 1 on at

    Hi @firda59 ,

     

    If I understand correctly you want to update all items in your data source that match a certain value in the 'No. PO' column, correct?

     

    If correct, consider using the UpdateIf function:

    UpdateIf(
    	Filter(
    		'Recap SOW',
    		'No. PO' = ThisItem.'SO/PO/WBS'	
    	),
    	{'Masuk Apps': "Proses sudah dilewati"}
    )

     

    Depending on your data source, this may not be delegable, which will cause issues if you go over 2000 items in your data source. In that case a ForAll loop should be combined with Patch.

  • firda59 Profile Picture
    372 on at

    Hi @BCBuizer 

     

    Yup, I want to update all items in my data source which has the same 'No. PO' .If my data source over 2000 items, how to make the formula?

  • Verified answer
    v-mingkz-msft Profile Picture
    Microsoft Employee on at

    Hi @firda59,

    You can try the following expression.

     

    UpdateIf('Recap SOW','No. PO' = ThisItem.'SO/PO/WBS',{'Masuk Apps': "Proses sudah dilewati"})

     

     

    Best Regards,

    Kyrie

  • firda59 Profile Picture
    372 on at

    Hi @v-mingkz-msft 

     

    What RenameColumns means? Because my formula error

  • firda59 Profile Picture
    372 on at

    @v-mingkz-msft 

     

    thankyouuuu!!!!!! it can work now!

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 Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard