cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TCH
Level: Powered On

Updating a specific column item

Hi there i have the list as seen below: 

specifikke kolonner.PNGI would like to be able to update the 'Menu' column, but not the entire column or all of the elements within it a specfic one. For example "Mandag"(Read: Monday). Say i want to change the Menu column text for Monday, is there a smart way to do this. 

I was thinking maybe something along the lines of: 

Patch(Listname; Lookup(Listname;Day=Monday;Menu)Textinput.text) 

If this makes any sense what so ever, if someone has a good idea of how one could do this, it would be of tremendous help 🙂 

Thanks in advance. 
- Tobi

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Updating a specific column item

@TCH 

Yes, the UPDATEIF function is a good way to do this 🙂

 

UpdateIf(Listname; Day="Mandag", {Menu: Textinput.text})

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Updating a specific column item

@TCH 

Yes, the UPDATEIF function is a good way to do this 🙂

 

UpdateIf(Listname; Day="Mandag", {Menu: Textinput.text})

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

TCH
Level: Powered On

Re: Updating a specific column item

@mdevaney 

Thanks for the response,

Hmm, it doesn't really do anything, however it doesn't show any errors what so ever it just does not update, as if it doesn't recognise that Day = Monday, even though it is. 

I have a datasource within the app that is called monday as well do you think this could be the issue, or maybe the Monday needs "", to make it understand that it is a text value? 🙂 

Thank you 
- Tobi 

Super User
Super User

Re: Updating a specific column item

@TCH 

Yes, I think the quotes are what is needed here.  I modified your previous statement which did not have quotes so I didn't notice they were missing 🙂

 

I have now updated my previous post.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (6,052)