cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
mdevaney
Super User III
Super User III

@Anonymous 

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

5 REPLIES 5
mdevaney
Super User III
Super User III

@Anonymous 

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

Anonymous
Not applicable

@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 

@Anonymous 

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.

kavya__
Frequent Visitor

and where do we write this particular function, on the update property of the datacard ?

@kavya__ 

Please start a new thread. This one is old and the original poster is gone.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (70,017)