Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
From a csv file built like that :
EmptyRow;EmptyRow;Param1;Param2
Date1; ;Hour1;ValParam1;ValParam2
Date2;;Hour2;ValParam3;ValParam4
this csv file has a generic schema :
Column;Column1;Column2;Column3;Column4
I used tUnpivotRow component with Row keys (Problem : i can't declare the first CSV Line as Row Key):
Column (in fact Date Column)
Column1 (in fact Hour Column)
i obtain the result bellow :
Date1; Hour1;Param1
Date1; Hour1;Param2
Date1; Hour1;ValParam1
Date1; Hour1;ValParam2
Date1; Hour1;ValParam3
Date1; Hour1;ValParam4
Date2;Hour2;Param1
Date2;Hour2;Param2
Date2; Hour2;ValParam1
Date2; Hour2;ValParam2
Date2; Hour2;ValParam3
Date2; Hour2;ValParam4
But i want this result :
Date1; Hour1;Param1;ValParam1
Date1; Hour1;Param2;ValParam2
Date2; Hour2;Param1;ValParam3
Date2;Hour2;Param2;ValParam4
Question : How to set tUnpivotRow component to INNER JOIN Columns declared in RowKey tUnpivotRow settings AND each row from the csv 1rst line ?
Thanks for reply.
Alain