Data table separated by values

Looks Like a group by case