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 colum validation ...
Power Apps
Unanswered

Date colum validation need to implement in PowerApps

(0) ShareShare
ReportReport
Posted on by 71

Hi All,

 

I have a SharePoint List and customizing with PowerApps.

 

I have date columns those are  Request Date, Requested Go Live Date, Review date, Go Live Date.

 

I need to implement below logic, Please help us as I am new to PowerApps.

Intake review date >= Request date =< Requested Go live date

Go live date >= Request date

Where to put logic. Please suggest.

 

Thanks.

 

Categories:
  • sahana_23 Profile Picture
    46 on at
    1. Open your PowerApp in the PowerApps Studio.

    2. Go to the screen where your SharePoint List data is being displayed.

    3. Select the data card for each date column (Request Date, Requested Go Live Date, Review Date, and Go Live Date).

    4. Click on the "Advanced" tab in the right-hand pane.

    5. Scroll down to the "Default" property and click on the "Edit" button.

    6. In the formula bar that appears, write the logic you want to implement for each date column.

    For example, for the Request Date column, the formula could be:

    If(ReviewDate>= RequestDate && RequestDate <= RequestedGoLiveDate, RequestDate, Blank())

    This formula checks if the Review Date is greater than or equal to the Request Date, and if the Request Date is less than or equal to the Requested Go Live Date. If both conditions are met, it returns the Request Date; otherwise, it returns blank.

    Similarly, for the Go Live Date column, the formula could be:

    If(GoLiveDate >= RequestDate, GoLiveDate, Blank())

    This formula checks if the Go Live Date is greater than or equal to the Request Date. If the condition is met, it returns the Go Live Date; otherwise, it returns blank.

    1. After adding the formulas for all the date columns, save the changes and test your app to ensure that the logic is working as expected.
  • MSD52 Profile Picture
    71 on at

    I am keeping this formula on DefaultDate Property of Request Date but getting error.

    If(DataCardValue26.SelectedDate >= DataCardValue4.SelectedDate && DataCardValue4.SelectedDate <= DataCardValue9.SelectedDate, DataCardValue4.SelectedDate,Blank())

     

    Request Date ---DataCardValue4

    Requested Go Live Date----DataCardValue9

    Review Date--- DataCardValue26

    Go Live Date--- DataCardValue27

     

  • sahana_23 Profile Picture
    46 on at

    The formula you have provided appears to be correct based on the logic you have mentioned. However, without knowing the specific error message you are receiving, it is difficult to provide a specific solution.

    One common issue that can occur with date fields in PowerApps is that the date format may not be compatible with the formula. Make sure that the date format used in the data card controls matches the format expected by the formula. For example, the date format used in the SharePoint list and the date format used in the data card controls should match.

    Another possible issue could be with the order of operations in the formula. Try wrapping the logical conditions in parentheses to ensure that they are evaluated correctly. Here is an updated version of your formula with parentheses added:

    If((DataCardValue26.SelectedDate >= DataCardValue4.SelectedDate) && (DataCardValue4.SelectedDate <= DataCardValue9.SelectedDate), DataCardValue4.SelectedDate, Blank())

    If you continue to receive an error after trying these solutions, please provide the specific error message you are receiving, and I can help you further.

  • MSD52 Profile Picture
    71 on at

    Hi,

     

    Thanks for your Reply!! Request date as it is but need to implement like below based on request date selected 

    1. Review Date should be lessthan or eq to requested go live date
    2. Review date should be Grater than or eq to Request Date
    3.Planned go live date graterthan or eq to Request Date 

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 Apps

#1
11manish Profile Picture

11manish 337 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 250

#3
Mohsin Ali Profile Picture

Mohsin Ali 225

Last 30 days Overall leaderboard