cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Naresh
Helper IV
Helper IV

Column Auto update formula

Hi,

 

Can anyone help me with the below issue?

 

I need to update the column in a SharePoint list automatically with the value of another SharePoint list column for a button click.

Can you please help me with the powerapps formula.

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @Naresh,

 

Could you please share a screenshot of your PowerApps app's configuration?

Is the column that you want to update a Lookup type column within your SharePoint list?

 

I have made a test on my side and my app's configuration as below:20.JPG

 

I assume that you want to update the Executor column in List1 with the value from the Names column of List2 as above. The OnSelect property of Button control (Update) set to following formula:

Patch('20180525_case1',First(Filter('20180525_case1',TaskName=Form1.Updates.TaskName)),{Executor:DataCardValue10.Text,Title:DataCardValue1.Text})

Note: The '20180525_case1' represents the List1 data source, in addition, the TaskName column is a unique column in my List1. 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,372)