Hi,
Can someone help me write a code for translating the data from matrix format to a tabular format
Example: I have data in the format
Col 1 Col 2 Col 3 Col N
Row A val A1 Val A2 val A3 val AN
Row B val B1 Val B2 val B3 val BN
Row C val C1 val C2 val C3 val CN
I want to convert this data to the tabular format that is
Row Col Value
Row A Col1 val A1
Row B Col1 val B1
Row C Col1 val C1
Row A Col 2 Val A2
Row B Col 2 Val B2
Row C Col 2 val C2
Till now I was able to use queries for this translation as my meta data was same.
However recently I have start getting tables with different column names and also different number of columns.
So I am not looking for a code to automatically translate data with new fields names.
Please share if you have a code or guide me.
Thanks
SKV
Can someone help me write a code for translating the data from matrix format to a tabular format
Example: I have data in the format
Col 1 Col 2 Col 3 Col N
Row A val A1 Val A2 val A3 val AN
Row B val B1 Val B2 val B3 val BN
Row C val C1 val C2 val C3 val CN
I want to convert this data to the tabular format that is
Row Col Value
Row A Col1 val A1
Row B Col1 val B1
Row C Col1 val C1
Row A Col 2 Val A2
Row B Col 2 Val B2
Row C Col 2 val C2
Till now I was able to use queries for this translation as my meta data was same.
However recently I have start getting tables with different column names and also different number of columns.
So I am not looking for a code to automatically translate data with new fields names.
Please share if you have a code or guide me.
Thanks
SKV