I have a table that has the following fields:
Patient/Date/Problem
The problem field only has 3 different variables that can be used (which I'd like to make into fields).
Example of how it looks:
patient date problem
1 9/1/01 HSF
1 9/1/01 FTP
1 1/1/2000 SDQ
2 8/24/1999 HSF
2 7/21/1998 SDQ
What I am trying to do is make the table look like this:
patient date HSF FTP SDQ
1 9/1/01 Y Y Null
2 8/24/1999 Y Null Null
2 7/21/1998 Null Null Y
I have tried the Pivot but I can't seem to get it to work. I thought I could just use a join, but apparently I am doing that wrong as well. Can you please assist me.
Thank you,
TMP