needmoremoney
Technical User
Hello all,
I'm pulling from two table. Table A have only one record per each employee which are things such as Id, name, and age. Table B holds multiple records for these employees such as books read, reports written and types.
When I pull records from Table B for my report, I get multiple records.
Example:
Id Name Age Books Reports Type
10 Jim 12 2 8 ter
10 Jim 12 3 3 fin
10 Jim 12 4 4 gil
11 Mona 13 1 3 ter
11 Mona 13 5 2
11 Mona 13 3 1 gil
What I need:
Id Name Age Books Reports Type1 Type2 Type3
10 Jim 12 9 15 ter fin gil
11 Mona 13 9 6 ter gil
I tried grouping and suppressing duplicate lines but it's not working for me. I might be doing it wrong though. I group by ID and then suppress duplicates. Any help thanks.
I'm pulling from two table. Table A have only one record per each employee which are things such as Id, name, and age. Table B holds multiple records for these employees such as books read, reports written and types.
When I pull records from Table B for my report, I get multiple records.
Example:
Id Name Age Books Reports Type
10 Jim 12 2 8 ter
10 Jim 12 3 3 fin
10 Jim 12 4 4 gil
11 Mona 13 1 3 ter
11 Mona 13 5 2
11 Mona 13 3 1 gil
What I need:
Id Name Age Books Reports Type1 Type2 Type3
10 Jim 12 9 15 ter fin gil
11 Mona 13 9 6 ter gil
I tried grouping and suppressing duplicate lines but it's not working for me. I might be doing it wrong though. I group by ID and then suppress duplicates. Any help thanks.