Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie - how to count specific records

Status
Not open for further replies.

rlfearns

Technical User
Oct 25, 2004
4
US
Using CR 4.0 (yeah, really old stuff) anyway what I am attempting to do is have a count of items entered in the past 7 days. The formula I have come up with isn't working.

Count ([{bugs.creation} in Today -7 to Today])

I have tried the last7days function without sucess. The values in the bugs.creation are dates.....

Can someone tell me what I'm doing wrong?
 
That's such an old version, I don't even remember the exact methodology.

The formula might be:

if {bugs.creation} in [Today -7 to Today] then
1
else
0

Now a formula against it would be:

sum((@MyFormula})

-k
 
Thanks -k! You pointed me in the right direction and with a little bit of tweaking, got it working ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top