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

Announcements

News and Announcements icon
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 442

Screenshot 2024-01-29 at 1.58.38 PM.png

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 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
    442 on at

    Correct, in the gallery.

  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 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
    442 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,629 Super User 2026 Season 1 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
    442 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,629 Super User 2026 Season 1 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
    442 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
    442 on at

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

  • jrletner Profile Picture
    720 Moderator 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

#2
11manish Profile Picture

11manish 224

#3
Valantis Profile Picture

Valantis 181

Last 30 days Overall leaderboard