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

Filter Powerapp Dates

I am stuck on adding a clause to  filter a data table ITEMS formula in Powerapps.

 

LIne 1 :  //Filter(SortByColumns(TeammateBasics,"FirstName",Descending),Active=1)

LIne 1 brings back only active teammates and works fine.

 

However, I also want to show what teammate has NOT had a Covid Vaccine. I need to return/display any active teammate that has a blank/missing date for Shot1Received, Shot2Received,Shot3Received

 

Thanks for looking and pointing me in the right direction.  

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @MrAutomate ,

As below

Filter(
   SortByColumns(
      TeammateBasics,
      "FirstName",
      Descending
   ),
   Active=1 &&
   (
      Shot1Received = Blank() ||
      Shot2Received = Blank() ||
      Shot3Received = Blank()
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @MrAutomate ,

As below

Filter(
   SortByColumns(
      TeammateBasics,
      "FirstName",
      Descending
   ),
   Active=1 &&
   (
      Shot1Received = Blank() ||
      Shot2Received = Blank() ||
      Shot3Received = Blank()
   )
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

MrAutomate
Helper III
Helper III

Warren, Many thanks!  I tried using isblank with an IN clause with commas. Your response worked perfectly.  

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,120)