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

How to check if item already exists in SharePoint list with latest status

Hello All,

 

I'm using SharePoint + PowerApps 

I have the following scenario in my list:
Share Point List Name: "Project Update"

 

Below are two columns which I have in my SP list. 

1.PNG

 

Now In my Power Apps I have one screen which contain Drop down Project Name.

 

2.PNG

 

Requirement: 

When I select project name in dropdown (like I selected "ABC" for project name)...So I wants to know last Project Status in "Last Status" text box from my share point list.

 

Like for a now in Powerapps I selected "ABC" as Property Name, then it should check in share point list and give me the latest's status of "ABC" property.

 

So for above scenario "Last status" text box value should be "International hold".

 

Can anyone help me for the syntax of "last status" text box?

 

1 ACCEPTED SOLUTION

Accepted Solutions
gabibalaban
Dual Super User
Dual Super User

Hi @Viral21,

 

Use in LastStatus Default property of  InputText(if is a InputText control) or Text property (is a Label control ) :

Last(Filter('Project Update','Project Name' = TheNameOfYourDropDownforProjectName.Selected.Value)).'Project Status'

 

Hope it helps !

View solution in original post

2 REPLIES 2
gabibalaban
Dual Super User
Dual Super User

Hi @Viral21,

 

Use in LastStatus Default property of  InputText(if is a InputText control) or Text property (is a Label control ) :

Last(Filter('Project Update','Project Name' = TheNameOfYourDropDownforProjectName.Selected.Value)).'Project Status'

 

Hope it helps !

Thank you so much Gabibalaban for your quick help.
-Viral Patel

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.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (5,869)