I have a table like this:
Prod Unit Name
A 1 X1
B 2 X2
A 3 X3
B 4 X4
Now I am grouping it by Prod column.
I want all Distinct Unit column values in group Header, something like this:
Group header: **PROD**: A **Unit**:1,3
Detail: X1
X3
Group Header: **PROD**: B **Unit**:2,4
Details: X2
X4
Please let me know any possible way to achieve this. Thanks in advance