Skip to main content

Notifications

Community site session details

Community site session details

Session Id : eacF809ttithMK52Ofj0rw
Power Apps - Building Power Apps
Answered

Sharepoint List , I need to change all values in a column that are F to Future

Like (0) ShareShare
ReportReport
Posted on 14 Oct 2022 09:21:49 by 101

Hi I am trying to make sure I have the correct formula to change values in a Sharepoint List that feeds my Power App , as if I could not find any other way to update it automatically.

The code I have created is - ForAll(Master_Profiles, If(field_15 ="F",{field_15 : "Future"}

The SharePoint Table is called Master_Profiles , and the the field name field_15 is a text column , which contains multiple codes , that I need to change to their actual name , so in this example

I want to loop through all of the rows and for each row that has an F , change the value to Future.

As this data is live data I wanted to make sure it was correct. As IU have only been learning Power Apps for 3 weeks.

Any help would be much appreciated.

Thankyou

Categories:
  • JD_26 Profile Picture
    101 on 19 Oct 2022 at 12:55:16
    Re: Sharepoint List , I need to change all values in a column that are F to Future

    Thanks that worked great , my last task is to have a button to delete associated tables by 2 matching values

    I have added a delete button to the supplier gallery , which is called supplier_search

    Is this code I have created from some research correct . ???

    RemoveIf('Contacts',field_2=supplier_search.Selected.Title&&field_13=supplier_search.Selected.field_15));
    RemoveIf(Activity_List,field_2=supplier_search.Selected.field_15&&Title=master_search.Selected.Title));

  • Verified answer
    theapurva Profile Picture
    965 Super User 2024 Season 1 on 14 Oct 2022 at 11:22:54
    Re: Sharepoint List , I need to change all values in a column that are F to Future

    Hello @JD_26 ,
    Add one button to your app and put OnSelect formula as below:

    UpdateIf(Master_Profiles, field_15 ="F",{field_15 : "Future"})

     this will replace all items with 'Future'.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,668 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started