How to group the data

Hi
Hope this would help you buddy

Cheers @mashy2