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 on birthday if...
Power Apps
Unanswered

Display on birthday if date field match

(0) ShareShare
ReportReport
Posted on by 438

Screenshot 2024-01-29 at 1.58.38 PM.png

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    do you show the birthday also in the gallery or outside in a text label?

     

    for the visible property you could do something like this:

     

    Text(Today(), "MM-dd") = Text([YourDataSource].Birthday, "MM-dd")

     

     

    In this formula, replace [YourDataSource] with your actual data source name and adjust any field names as necessary.

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • dylandavis09 Profile Picture
    438 on at

    Correct, in the gallery.

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    try this for the gallery:

     

    Text(Today(), "MM-dd") = Text(ThisItem.Birthday, "MM-dd")

     

    you just nee to change the Birthday column to the on you have

  • dylandavis09 Profile Picture
    438 on at

    Error Message: Incorrect format specifier for 'Text'. Remember, I need to add "Yes" if they wants to visible.

    Screenshot 2024-01-29 at 2.22.57 PM.png

     

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    try this instead

    DateDiff(
     DateValue(Text(Today(), "MM-dd-yyyy")),
     DateValue(Text(ThisItem.Birthday, "MM-dd") & "-" & Text(Today(), "yyyy")),
     TimeUnit.Days
    ) = 0

     

    what do you mean with the yes part?

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • dylandavis09 Profile Picture
    438 on at

    Still error.. Error message: "Incorrect format specifier for 'Text'."

    Screenshot 2024-01-29 at 2.30.39 PM.png

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    maybe the issue was that i forgot that one is a datefield in sharepoint.

     

    can u try this please:

    Text(Today(), "MM-dd") = Text(ThisItem.Birthday, "MM-dd")

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • dylandavis09 Profile Picture
    438 on at

    Yeah! Birthday is a datefield. Still error, why! I using "default" is a property, and items put it in 'DHS All User'.Screenshot 2024-01-29 at 2.38.39 PM.png

  • dylandavis09 Profile Picture
    438 on at

    I found it and fixed; correct is Filter('DHS All Users', Birthday = Today())

  • jrletner Profile Picture
    720 Super User 2025 Season 2 on at

    @dylandavis09 I created this example. This shows the user birthday and then a trimmed version of it. The same for Today's date. Then I have an icon and a message that appear if the dates match and the user chose "Yes" on whether to show the message. For my example, I used a collection as my datasource, but you can easily adjust it for your datasource and columns.

    jrletner_0-1706559544961.png

    To trim the birthday:

    Text(DateValue(userBirthday.Text),"mm/dd")

    To trim today's date:

    Text(Today(),"mm/dd")

    The code in the visible property of the birthday message:

    If(userBdayTrimmed.Text = todaysDateTrimmed.Text && showBirthday.Text = "Yes",true,false)

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard