@madlad yes you got it right on. LikeResponses and LikesCount are two seperate lists as well.
I tried to play with the comma and Semi colon but cant make it.
her is the code if you can see where i am missing:
If(
SharePointIntegration.Selected.'Created By'.Email = User().Email,
Notify("You can't like your own post!", NotificationType.Error),
IsBlank(LookUp(LikeResponses, UserID = User().Email && Title = Text(SharePointIntegration.Selected.ID))),
(
Patch(LikeResponses, Defaults(LikeResponses), {UserID: User().Email, Title: Text(SharePointIntegration.Selected.ID), LikeStatus: 1});
Patch(LikesCount, LookUp(LikesCount, Title = Text(SharePointIntegration.Selected.ID)), {TotalLikes: Value(LookUp(LikesCount, Title = Text(SharePointIntegration.Selected.ID)).TotalLikes) + 1})
), (
Patch(LikeResponses, Defaults(LikeResponses), {UserID: User().Email, Title: Text(SharePointIntegration.Selected.ID), LikeStatus: 1});
Patch(LikesCount, LookUp(LikesCount, Title = Text(SharePointIntegration.Selected.ID)), {TotalLikes: Value(LookUp(LikesCount, Title = Text(SharePointIntegration.Selected.ID)).TotalLikes) + 1})
),
LookUp(LikeResponses, UserID = User().Email && Title = Text(SharePointIntegration.Selected.ID)).LikeStatus = 1,
(
Patch(LikeResponses, LookUp(LikeResponses, UserID = User().Email && Title = Text(SharePointIntegration.Selected.ID)), {LikeStatus: 0});
Patch(LikesCount, LookUp(LikesCount, Title = Text(SharePointIntegration.Selected.ID)), {TotalLikes: Value(LookUp(LikesCount, Title = Text(SharePointIntegration.Selected.ID)).TotalLikes) - 1})
),
LookUp(LikeResponses, UserID = User().Email && Title = Text(SharePointIntegration.Selected.ID)).LikeStatus = 0,
(
Patch(LikeResponses, LookUp(LikeResponses, UserID = User().Email && Title = Text(SharePointIntegration.Selected.ID)), {LikeStatus: 1});
Patch(LikesCount, LookUp(LikesCount, Title = Text(SharePointIntegration.Selected.ID)), {TotalLikes: Value(LookUp(LikesCount, Title = Text(SharePointIntegration.Selected.ID)).TotalLikes) + 1})
)
)