Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I have data with three dimensions . I want to merge the data of a column into single row. Please find below screenshot for easy understanding of requirement.
Regards,
Sai Krishna.
Check here:
Temp:
Load * Inline [
Sno, ProductFamily, Product, Category, Qty
1, Accessories, Mouse, Hardware, 2
2, Accessories, Keyboard, Hardware, 3
3, Accessories, Headset, Hardware, 1
4, Computer, Windows, Software, 1
5, Computer, Office, Software, 1
];
Final:
Load
ProductFamily, Category,
Concat(Product, ',') as Product,
sum(Qty) as Qty
Resident Temp
Group by ProductFamily, Category;
Drop table Temp;
HI,
It's the same question and the same example
Regards,