cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
memphis111
Helper I
Helper I

Problem with patch Function in PowerAPPs

Hello everyone,

have a problem with the patch function in power apps. I'm not getting any further right now.
I have a Sharepoint list with 4 entries:
Type1 - Type4

In Powerapps I have 4 buttons, CheckIn, CheckOut, LunchIn and LunchOut.

 

My code looks like this:


If (ThisItem.display = Self.Text && ThisItem.enabled;

Patch (time_tracking;
{Title: User;
'type': ThisItem.value;
type1: ThisItem.value;
type2: ThisItem.value;
type3: ThisItem.value;
Time: Text (Now (); "[$ -de-DE] yyyymmddhhmm"); Date: Now ()
}
);


My problem is now that he creates a new line for each button pressed. I would like to have a line with these 4 properties

 

greetings

1 REPLY 1
jinivthakkar
Dual Super User
Dual Super User

@memphis111 please check this out https://www.youtube.com/watch?v=gX5q_V3U8-s

 

--------------------------------------------------------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,993)