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

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
Highlighted
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
Highlighted
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

Highlighted
Helper IV
Helper IV

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 

Highlighted
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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,780)