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:
  • BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard