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 / Date Label Formatting ...
Power Apps
Answered

Date Label Formatting Issue

(0) ShareShare
ReportReport
Posted on by

@RandyHayes 

 

Hello,

 

I have something kind of off happening with a Due Date label that I'm having a hard time troubleshooting. I'm wondering if it has anything to do with the fact that it is a calculated column. Doesn't seem like that should be a factor, but it is the only thing I have done differently than usual with a date column so I figured I would add the details below.

 

DueDateLongSS.png

 

Here is the formula I am using to calculate due dates in my Onboarding tasks SharePoint list based on the person's start date and when the task is due (e.g. by their start date, the first week, the first month, etc.).

 

DueDateCalcFormula.png

 

Both the start date and due date are showing up in a friendly format as expected in the SharePoint list and the due dates are calculating correctly. An example of Day 2 of week one is shown below.

 

Day2-Week1SS.png

 

My original label formula was originally just ThisItem.'Due Date', but when that didn't work I tried the following formula which as you can see from the first screenshot didn't work either.

 

Text(ThisItem.'Due Date', "mm-dd-yyyy")

 

I created a workflow that sends a table of tasks to the task owner that includes the due dates. I'm able to successfully define how the date should look there so I don't know why I can't seem to make it happen in Power Apps. I believe my syntax is correct, it seems to follow along with advice you gave on this post (they were looking for a different day/month order, but the idea is the same:

 

Solved: Re: Date format in labels and datacard - Power Platform Community (microsoft.com)

 

Any idea why I can't make my Due Date label behave?

 

Kind regards,

Teresa

 

 

 

Categories:
  • WarrenBelz Profile Picture
    156,528 Most Valuable Professional on at

    Hi @tagustin ,

    I think it has everything to do with the calculated column - they "do not play well" Power Apps at times and are really designed for SharePoint. Consider doing the same calculation in Power Apps and you will find it works fine.

     

    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

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @tagustin 

    Calculated columns are not so friendly to PowerApps.

    If you change your formula in the Text property to: 

    Text(DateTimeValue(ThisItem.'Due Date'), "mm-dd-yyyy")

    That should give you what you need.

     

    I hope this is helpful for you.

  • tagustin Profile Picture
    on at

    @RandyHayes 

    @WarrenBelz 

     

    Thank you both for your prompt response and suggestions. I went ahead and tried out Randy's formula suggestion since it was the easies to implement at this time and it worked, but I appreciate Warren's suggestion as well.

     

    The final formula I used to get the look below was:

    Text(DateTimeValue(ThisItem.'Due Date'), "mmm d, yyyy")

    DateFixSS.png

     

    Kind regards,

    Teresa

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard