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

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

Welcome to the User Group Public Preview

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

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,772)