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
Super User II
Super User II

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
Super User II
Super User II

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

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

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

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

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,504)