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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting Certain Records Twice: continuation of THREAD 767-1342545

Status
Not open for further replies.

elansienna

Technical User
Jun 18, 2004
44
US
Hello All,

I’m trying to do something similar to thread 767-1342545 where I am also counting certain records twice. I found this thread very useful in constructing the formulas.

My formulas read as follows:

@New
if {TABLE.OPEN_TIME} in Minimum({?Date}) to Maximum({?Date}) then 1

@Closed
if {TABLE.STATUS}="closed" then
1

@Open
if {TABLE.STATUS}="open" and {Table.OPEN_TIME} = Maximum({?Date}) then
1

This is a report (driven by date param) where I need to count the number of "new" (tickets created in the date parameter range), "closed" (tickets that were closed in the date parameter range) and "open" (tickets that were open on the last day of the date parameter range).

My problem is that I'm using a chart to show the totals, but can't seem to get the totals to show (no chart shows). I selected "for all records" and sum each formula in the show values field. I even selected "for each record" with the fomulas in the show values field, but it does not allow you to summarize the formula.

I don't know what to do at this point. I'd appreciate any suggestions. Thanks.
 
Thanks to whomever was attempting to help with this post, but I figured it out! It had been a long day.
 
You should explain what you did, so that others can learn from your thread.

-LB
 
Sure lbass, as I have certainly received great tips from you and this forum! As you suggested in the referenced thread, I created three separate formulas to capture, "new", "closed" and "open" tickets and placed each in the detail section to get an increment count and suppressed each so that the numbers would not show. I then created a grand summary for each and placed in the report footer, also suppressed. I used these summations in the show values section of my chart "for each record.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top