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 Apps / Is it possible to make...
Power Apps
Answered

Is it possible to make the ChangeRecord1 in UpdateIf dynamic?

(0) ShareShare
ReportReport
Posted on by 54

I'm not sure what to call the changeRecord. but from the powerapps documentation. it's the one underlined here. UpdateIf( DataSource, Condition1, ChangeRecord1 [, Condition2, ChangeRecord2, ... ] )

 

Example:

UpdateIf(collectionName, true, {Header1: Value1})

 

Is it possible to make Header1 dynamic? Or maybe from a variable?

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on at

    @noelflores 

    No, this is not possible. It is possible to make "value1" dynamic but the field identifier is hardcoded.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • nwelflores Profile Picture
    54 on at

    I see, Thanks @PowerRanger !

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @noelflores,

    I think @PowerRanger has answered your question, could you please mark his reply as an answer to help more users who may have the similar issue.

     

    If you research the parameters within the UpdateIf() function, you should have found that the Column name is a literal text that could not be a varaible.

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
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard