TABLE A, parent table, resembles:
RECORD ID, DATE 1, DATE 2, VALUE3, etc
1234 , 1/1/05, 8/3/05, BLA,
5678, , 2/1/05, 8/3/05, BLA,
TABLE B, child table, resembles:
RECORD ID, DATE3, VALUE4, etc
1234 , 1/1/05, BLA BLA,
1234 , 3/1/05, BLA BLA
1234 , 8/1/05, BLA BLA
5678 , 8/1/05, BLA BLA
I have created a simple report based on the 2 tables. The tables are joind correctly and the report works fine except for my running total.
In the report I am grouping by "RECORD ID" and displaying various columns of data from TABLE A for each "RECORD ID".
I attempted to add a runnig total to the report which COUNTS the # of call IDs which match some criteria (formula option of the running total). This running total (count) works, well sort of. When the relationship between TABLE A and B is 1 to 1 (like my RECORD ID 5678) the count works fine. But when the relationship between TABLE A and B is 1 to many (like my 1234 RECORD ID) then the count reflects the # of child records, which is NOT what I want to count
In a nutshell, using my sample table/records above. I would receive a count of 3 for RECORD ID 1234 and a count of 1 for RECORD ID 5678. I want to receive a count of 1 for both. Make sense?
I have tried to fix this every which way but loose. Any ideas?
Thanks in advance.
-- Jason
"It's Just Ones and Zeros
RECORD ID, DATE 1, DATE 2, VALUE3, etc
1234 , 1/1/05, 8/3/05, BLA,
5678, , 2/1/05, 8/3/05, BLA,
TABLE B, child table, resembles:
RECORD ID, DATE3, VALUE4, etc
1234 , 1/1/05, BLA BLA,
1234 , 3/1/05, BLA BLA
1234 , 8/1/05, BLA BLA
5678 , 8/1/05, BLA BLA
I have created a simple report based on the 2 tables. The tables are joind correctly and the report works fine except for my running total.
In the report I am grouping by "RECORD ID" and displaying various columns of data from TABLE A for each "RECORD ID".
I attempted to add a runnig total to the report which COUNTS the # of call IDs which match some criteria (formula option of the running total). This running total (count) works, well sort of. When the relationship between TABLE A and B is 1 to 1 (like my RECORD ID 5678) the count works fine. But when the relationship between TABLE A and B is 1 to many (like my 1234 RECORD ID) then the count reflects the # of child records, which is NOT what I want to count
In a nutshell, using my sample table/records above. I would receive a count of 3 for RECORD ID 1234 and a count of 1 for RECORD ID 5678. I want to receive a count of 1 for both. Make sense?
I have tried to fix this every which way but loose. Any ideas?
Thanks in advance.
-- Jason
"It's Just Ones and Zeros