Hi all, Please help if you are able to, with the problem I’m having below.
I need to find all 1’s in Col3 grouped by the value in Col2. I also need to know the total number of rows for the value in Col2.
Col1 Col2 Col3
ABC 1234 2
ABC 1234 2
ABC 5678 2
ABC 5678 1
Desired Output
eg
Col1 Col2 Total 1’s Total Rows (Col2)
ABC 1234 0 2
ABC 5678 1 2
I’ve tried various queries with count and grouping but it doesn’t give me the output I need.
Thanks










Bookmarks