ODBC SQL 2000
Crystal 11.0
I have a 'Crystal' report as follows:
Grouped By - Insertion Date
Here's what prints on the report
ad # acct # date # of ads Lineage
12786 3157262 5/8/2005 1 4
12786 3157262 5/8/2005 1 4
12786 3157262 5/8/2005 0 4
34122 6381903 5/8/2005 1 8
34122 6381903 5/8/2005 1 8
34122 6381903 5/8/2005 0 8
34122 6381903 5/8/2005 1 8
--- ----
2 12
42901 3016200 5/11/2005 1 2
15238 5174103 5/11/2005 1 4
15238 5174103 5/11/2005 0 4
4335 10311100 5/11/2005 1 8
--- ----
3 14
1) running total for ad #: I used distinct count (correct)
In the example above for ad # 12786 I only want to
count that ad # one time even though there are three ads
for the same ad # for ad # 34122 there are four ads, I only want counted one time.
2) running total for lineage:
In the example above I want a running total lineage which would sum 8 & 4 (12). If there were four ads for the same date I only want to count Lineage one time, etc.
Hopefully, I'm explaining myself clearly so you can understand. Thanks in advance for your help.
Crystal 11.0
I have a 'Crystal' report as follows:
Grouped By - Insertion Date
Here's what prints on the report
ad # acct # date # of ads Lineage
12786 3157262 5/8/2005 1 4
12786 3157262 5/8/2005 1 4
12786 3157262 5/8/2005 0 4
34122 6381903 5/8/2005 1 8
34122 6381903 5/8/2005 1 8
34122 6381903 5/8/2005 0 8
34122 6381903 5/8/2005 1 8
--- ----
2 12
42901 3016200 5/11/2005 1 2
15238 5174103 5/11/2005 1 4
15238 5174103 5/11/2005 0 4
4335 10311100 5/11/2005 1 8
--- ----
3 14
1) running total for ad #: I used distinct count (correct)
In the example above for ad # 12786 I only want to
count that ad # one time even though there are three ads
for the same ad # for ad # 34122 there are four ads, I only want counted one time.
2) running total for lineage:
In the example above I want a running total lineage which would sum 8 & 4 (12). If there were four ads for the same date I only want to count Lineage one time, etc.
Hopefully, I'm explaining myself clearly so you can understand. Thanks in advance for your help.