Jump to content

How to fix Start Date and End date of the projects based on year filter


gurusai sankar

Recommended Posts

Hi All,

i have the data as i mentined in the below.

Proj No , Proj Name , Proj Start Dt, Proj End Dt.

I need to show the all projects based on the year selection in the filte and satsfy all below conditions. there should be only one year filter.

conditions:

The projects selected should be based on

- all projects whose start date is within the years selected

- all projects whose end date is within the years selected

- all projects whose start date is less that the year and end date is greater than the year

 

i have attched sample dxp. kindly help me on this.

Regards,

Guru sankar

Link to comment
Share on other sites

Create a document property as an integer, and a drop down list with values from 2017 to 2025. Let's call it "usrYear".

Add a data expression to limit the displayed data, based on the result of :

Year([Proj Start Dt])< (${usrYear}+1)

And

Year([Proj End Dt])>= ${usrYear}

(You only want projects that start before the end of the year, and finished after the start of the year).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...