Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Incoming data looks like below
6
Expecting Results - during the time of the dataload (script)
We can do like this in the pivot table.The problem is -I have to add additional few columns after Mar-12.
Pivot table will not work. Is there any better way to handle in the script.(Millions of record in the table).
Advance Thanks for your help.
It will be:
data:LOAD MATNR, date(monthstart("Bill.Date"), 'MMM-YY') as Month, sum(QTY) as QTYFROM <your file>GROUP BY MATNR, monthstart("Bill.Date");
Regards,MichaelPS: it will be a little different if you load from a database, but the logic is the same.