web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Display a list of upco...
Power Apps
Unanswered

Display a list of upcoming Employee Anniversaries or Birthdays

(0) ShareShare
ReportReport
Posted on by 282

I've been able to use Office365Users connector with a text input field to display a list of users and properties, but I want to only display the ones with birthdays (or anniversaries in a second app) that occur this month.

Categories:
I have the same question (0)
  • JohnM86 Profile Picture
    590 on at

     

    To display a list of users with birthdays or anniversaries that occur this month, you can use the Office365Users connector and the Filter function to filter the list based on the Birthday or HireDate property.

    Here's an example formula that filters the list of users based on their birthday:

     

    Filter(Office365Users.SearchUser({searchTerm: ""}), Month(Birthday) = Month(Today()) And Day(Birthday) >= Day(Today()) )
     

    This formula uses the SearchUser function to retrieve a list of users, and then uses the Filter function to only include users whose Birthday falls within the current month. The Month and Day functions are used to extract the month and day from the Birthday property and compare it to the current date.

    You can modify this formula to filter the list based on the HireDate property for anniversaries, like this:

     

     
    Filter(Office365Users.SearchUser({searchTerm: ""}), Month(HireDate) = Month(Today()) And Day(HireDate) >= Day(Today()) )
     

    This formula works the same way as the previous one, but filters based on the HireDate property instead of the Birthday property.

  • rkirk2k Profile Picture
    282 on at

    Where do you enter the filter function? In the "Items" property of the gallery?

  • JohnM86 Profile Picture
    590 on at

    If that is where you are pulling your list to then yes 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard