web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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)
  • v-qiaqi@microsoft.com Profile Picture
    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.

  • nwelflores Profile Picture
    54 on at

    I see, Thanks @PowerRanger !

  • 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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 428

#2
WarrenBelz Profile Picture

WarrenBelz 374 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 333 Super User 2025 Season 2

Last 30 days Overall leaderboard