Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis dates comparison

Hi every body ,

i'm trying to obtain clients commands between two dates and this is my expression

=count( {$ < [Date CA]={'>=$(=startdate)'}, [Date CA]={'<=$(=enddate)'} >   } distinct [Nom Client])

startdate and enddate are variables

1 Solution

Accepted Solutions
Not applicable
Author

hi

try this

=count( {$ < [Date CA]={ '>=$(=startdate) <= $(=enddate)' } >   } distinct [Nom Client])

View solution in original post

4 Replies
giakoum
Partner - Master II
Partner - Master II

Looks generally correct. Try eliminating the = sign and combine them into one :

Count({$<[Date CA]={'>=$(startdate)<=$(enddate)'} >   } distinct [Nom Client])

ThornOfCrowns
Specialist II
Specialist II

An example:

{$<Year={">=2006 <=2010"}>}

will return the results for years 2006 to 2010 inclusive

Not applicable
Author

hi

try this

=count( {$ < [Date CA]={ '>=$(=startdate) <= $(=enddate)' } >   } distinct [Nom Client])

Not applicable
Author

thanks for all