Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Gallery display inspections that have not been completed this month

I have two SharePoint Lists. One to many relationship. FireExtinguisherInfo (FEI) has an entry for each Fire Extinguisher. FireExtinguisherInspections (FEIN) has the multiple inspections for each extinguisher. I need a gallery to display FEI's that do NOT have an entry in FEIN's InspectionDate for the current month/year. The InspectionDate display's the date list this way mm/dd/yyyy.


This what I would like to happen:

Open screen and on that screen will be a dropdown with only the months available (if they want to search for previous months). The screen gallery will default to the current month/year and display the FEI's that do not have an entry in FEIN for this month/year.


Super User
Super User

How is the data stored in your data source for the last inspection? Is it one column for year and one column for Month or is it a date in one column?

For one column each, it would look something like this:




(**The above code will show inspections that took place the current month of the last year, if you want to filter those out as well change the <= in the month argument to <>)


If it's just a date type, you could do this:






Helpful resources


Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users


We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (46,213)