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 / need to patch or updat...
Power Apps
Answered

need to patch or update only the first record of the first column of a sharepoint list.

(0) ShareShare
ReportReport
Posted on by 566

Hi,

i need to patch or update only the first record of the first column of a sharepoint list. i don't want to add new records each time.

Please find my current formula:

 

Patch(
 Renommagesavepower;
 LookUp(Renommagesavepower; ID=1);;
 {
 Titre: varCounter
 }
)

 

How to save my variable "Varcounter" to only first line  of my sharepoint list Renommagesavepower ?

Could you also help me to know what is the formula also to get my saved variable on the first line of sharepoint list on a label on my power app?

Categories:
I have the same question (0)
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @Sormick,

     

    After LookUp the code only requires 1 semicolon instead of 2. After this adjustment, your code should work as long as a record with ID 1 exists within that list. Alternatively you could try:

    Patch(
     Renommagesavepower;
     First(Renommagesavepower);
     {
     Titre: varCounter
     }
    )

     

    In order to display this value on a label, use the following code in the Text property:

    LookUp(Renommagesavepower; ID=1).Titre
    
    //Alternatively
    First(Renommagesavepower).Titre

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • Sormick Profile Picture
    566 on at

    Thank you!

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard