cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NathanFra
Helper I
Helper I

Filter by a pair of key words

I'm sure this is something simple that I am just overlooking, but I'm stumped on this one.

 

I have a data table that is pulling entries from a SP list, and is filtering the list based off of a column that is the "Status". I've created the column to be a single line text, and defaulting as Pending. Right now I have the datatable pull any entries that are set as "Pending".

 

NathanFra_0-1607435312353.png

 

However, the approval within the app has three different "approvals". A "Deny", "Quick Approval", and "Approval". The quick approval is meant to keep the request open, yet send the information onto the next person without the original approver filling out their section until a later date. So what I need, is for my data table to filter by both Pending and Quick Approval. I've tried "Pending" || "Quick Approval" but it pulls all entries from the list, even ones not assigned to the current user. 

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@NathanFra 

Please consider changing your Formula to the following:

Filter(Apprv, 
    (Status = "Pending || Status = "Quick Approval) &&
    Approver.DisplayName = CurrentUser.FullName
)

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

1 REPLY 1
RandyHayes
Super User
Super User

@NathanFra 

Please consider changing your Formula to the following:

Filter(Apprv, 
    (Status = "Pending || Status = "Quick Approval) &&
    Approver.DisplayName = CurrentUser.FullName
)

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,968)