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 Automate / Bad date data displayed.
Power Automate
Answered

Bad date data displayed.

(0) ShareShare
ReportReport
Posted on by 9

I have a SharePoint list that is used to track which items are being rented along with the separate columns for the start_date and the end_date and a column for the salesperson to set the number of months in advance of the end date they need to begin getting the renewal started (renewal_start) all of these are originally added through a "Form" which uses branching to eliminate unnecessary inputs for example.

 

Item # 1 Y/N

 

If Yes go to start date, end date, renewal offset, and on to Item #2

If No go to Item #2

 

Item # 2 Y/N

 

If Yes go to start date, End date, renewal offset and on to Item #3

If No go to Item #3 

and so on... Which means that if item 2 was not rented then there is no start date or end date or renewal offset.

 

I have a flow that moves the the information into a SharePoint list along with a column listing the number of months before the contract renews (renew_kickoff).  I have added a calculated column that looks at the End_Date column, subtracts the number listed in renew_start column and shows the outcome as date. I plan to use this to notify the sales person they should begin working on getting a renewal. The calculation is working except for one small oddity when an item is not chosen on the form, no start_date or end_date is chosen (because they did not buy that product. So there is no end_date on the list nor is there renew_kickoff date on the list.

 

On the lines where there is no data the Calculated field is displaying the date 12/30/3799 which brings me to my question. How Do I ensure that no date is displayed in the calculated field if its other fields are blank? Is this something that I need to address in my Flow or the SharePoint list? Any thoughts would be great. T

 

his is what it look like in SharePoint:

 

Gfickel_0-1653338786476.png

 

  

Categories:
  • Verified answer
    vivekpande18 Profile Picture
    894 Super User 2024 Season 1 on at

    Hi @Gfickel ,

     

    This is nothing to do with Power Automate. You need to do the changes in your calculated field formula.

     

    You can include IF statement to get them if the date value is valid or not like below to show blank field.

     

    vivekpande18_0-1653368875108.png

    https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/bb862071(v=office.14)

     

    Note : You cannot update Calculated field using Power Automate

     

    Thanks

    Vivek Pande

     

    If this post helps answer your question, please "Accept as Solution" to help others find it more quickly.

    If you thought this post was helpful, please give it a Thumbs Up.

     

     

     

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard