Converting rows to columns

This is almost the same thing as your other thread Need to append values based on one column value - #5 by steevej.

The difference is that the _id of $group is $Result.

If you still have issues, share what you tried and explain how it fails to deliver the desired result.

1 Like