The Table for required data is provided below
I want to group the columns by User Name first and count the occurences of a single disposition code for that username
User Name Disposition Code
person1 Solved
person2 Solved
person1 Solved
person2 Not Solved
person3 Solved
Result required:
User Name Total Solved Total Not Solved
person1 2 0
person2 1 1
peson3 1 0