Just check the check box on your aggregate to Ignore fields that are zero.
Patrick Winter
-----Original Message-----
From: James Smith [mailto:jsmith@...]
Sent: Friday, February 27, 2004 2:24 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Help with report builder calculation
I have a report that I use to measure on time shipments to customers. The
report I have modified shows individual shipments made for a period to
customers as late or on time and summarizes the information according to
total shipments, shipments on time, shipments late, total dollars shipped,
Dollars shipped on time, dollars shipped late, and average days late
(early).
What I can't figure out is how to calculate "when late, the average days
late". I want to exclude the on time shipments in my calculation. I tried to
perform this calcualtion by creating an aggregate calculation that averaged
the following calculated field IIF(shipdate>reqdate, shipdate-reqdate, 0),
The calculation adds up the total days late, but it divides by the total
number of shipments made instead of just the number of shipments late. I
know why it is doing this. Is there a way to have an IIF statement that is
set up more like IIf (shipdate>reqdate, shipdate - reqdate, otherwise
ignore) ? I hope this makes sense, but this is driving me nuts!
Thanks in advance for your assistance.
Jim
------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy
Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer
at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/PhFolB/TM
---------------------------------------------------------------------~->
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Yahoo! Groups Links
Patrick Winter
-----Original Message-----
From: James Smith [mailto:jsmith@...]
Sent: Friday, February 27, 2004 2:24 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Help with report builder calculation
I have a report that I use to measure on time shipments to customers. The
report I have modified shows individual shipments made for a period to
customers as late or on time and summarizes the information according to
total shipments, shipments on time, shipments late, total dollars shipped,
Dollars shipped on time, dollars shipped late, and average days late
(early).
What I can't figure out is how to calculate "when late, the average days
late". I want to exclude the on time shipments in my calculation. I tried to
perform this calcualtion by creating an aggregate calculation that averaged
the following calculated field IIF(shipdate>reqdate, shipdate-reqdate, 0),
The calculation adds up the total days late, but it divides by the total
number of shipments made instead of just the number of shipments late. I
know why it is doing this. Is there a way to have an IIF statement that is
set up more like IIf (shipdate>reqdate, shipdate - reqdate, otherwise
ignore) ? I hope this makes sense, but this is driving me nuts!
Thanks in advance for your assistance.
Jim
------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy
Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer
at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/PhFolB/TM
---------------------------------------------------------------------~->
Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Yahoo! Groups Links