# Parameters - End date should always be greater than Start Date

**URL:** <https://community.amazonquick.com/t/parameters-end-date-should-always-be-greater-than-start-date/48330>\
**Category:** Q&A\
**Tags:** admin, error, quick-sight\
**Created:** [July 18, 2025, 7:42pm UTC](https://community.amazonquick.com/t/parameters-end-date-should-always-be-greater-than-start-date/48330 "2025-07-18T19:42:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Xclipse](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/xclipse/32/20455_2.png) [@Xclipse](https://community.amazonquick.com/u/Xclipse)\
**Post date:** [August 9, 2025, 3:19pm UTC](https://community.amazonquick.com/t/parameters-end-date-should-always-be-greater-than-start-date/48330/4 "2025-08-09T15:19:09Z")

</div>

Hi @priyanka1

Please refer the below community post this might be helpful for you.

> [@Restrict Date Parameter value selection](https://community.amazonquick.com/t/restrict-date-parameter-value-selection/15232/4):
>
> Hello @Vignesh_Kannan , if your parameter allows the user to enter any date for start and end period it is not possible to prevent them to enter dates that are not valid according to your business logic. Here one option that you have is to create two calculated fields (one for each date) and then perform a validation using a calculated field, e.g. validation: ifelse(dateDiff(start\_date, end\_date ,"MM") \>= 12, "Dates are invalid, please select a range of 12 months between startd and end date"…

---

_[View the full topic](https://community.amazonquick.com/t/parameters-end-date-should-always-be-greater-than-start-date/48330)._
