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 / How can i patch a Shar...
Power Apps
Answered

How can i patch a SharePoint list blank based on a condition?

(0) ShareShare
ReportReport
Posted on by 56

Hello,

 

Hope i can get help with this. I have a SP list call employees that i am using, then i am using a label to show the age. When i want to patch employee email and Age i would like for Age to be as blank/Null how can i do this base on a condition. 

 

On the Text property i have a lookup formula 

LookUp(Employees, EmployeeEmail=Dropdown2.Selected.EmployeeEmail,Age)

 

What can i put on the Submit Button?

Categories:
I have the same question (0)
  • TJO Profile Picture
    230 on at

    @patricia_r How about you try with an UpdateIf() formula?

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

    Hi @patricia_r ,

    Do you want to update items that EmployeeEmail=Dropdown2.Selected.EmployeeEmail with blank age?

    If so, I agree with @TJO  to use UpdateIf() function, which could update all the items that meet the requirement.

    Firstly, please change this setting in your app:
    File->settings->advanced settings->turn this toggle on

    981.PNG

     

    Then use formula like this to update:

    UpdateIf(datasourcename,EmployeeEmail=Dropdown2.Selected.EmployeeEmail,{Age:Blank()})

     

     

     

    Best regards,

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard