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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (18,512)