Hello,
I have a table with a LAB field and a CODE field. For each LAB field, how can I display the total CODES for each code type?
Example Table Data
Example Desired Output:
Thanks,
Michael42
I have a table with a LAB field and a CODE field. For each LAB field, how can I display the total CODES for each code type?
Example Table Data
Code:
lab code
1 a
1 a
1 c
2 b
2 c
2 c
3 a
3 b
3 c
Example Desired Output:
Code:
LAB CodeA CodeB CodeC
1 2 0 1
2 0 1 2
3 1 1 1
Thanks,
Michael42