jagadesh77
New Member
- Joined
- Nov 20, 2017
- Messages
- 1
Hi
I have data in a table like below:
[TABLE="width: 346"]
<colgroup><col span="2"><col span="2"></colgroup><tbody>[TR]
[TD]Pkg Type[/TD]
[TD]Pkg Name[/TD]
[TD]DEV01[/TD]
[TD]DEV02[/TD]
[/TR]
[TR]
[TD]CP[/TD]
[TD]cp1[/TD]
[TD="align: right"]20-11-2017 00:00[/TD]
[TD="align: right"]21-11-2017 07:00[/TD]
[/TR]
[TR]
[TD]DP[/TD]
[TD]dp1[/TD]
[TD="align: right"]19-11-2017 00:00[/TD]
[TD="align: right"]20-11-2017 00:00[/TD]
[/TR]
[TR]
[TD]CP[/TD]
[TD]cp2[/TD]
[TD="align: right"]21-11-2017 00:00[/TD]
[TD="align: right"]21-11-2017 05:00[/TD]
[/TR]
[TR]
[TD]DP[/TD]
[TD]dp1[/TD]
[TD="align: right"]19-11-2017 09:00[/TD]
[TD="align: right"]20-11-2017 10:00[/TD]
[/TR]
[TR]
[TD]DB[/TD]
[TD]dp1[/TD]
[TD="align: right"]19-11-2017 00:00[/TD]
[TD="align: right"]20-11-2017 00:00[/TD]
[/TR]
[TR]
[TD]DB[/TD]
[TD]dp1[/TD]
[TD="align: right"]19-11-2017 05:00[/TD]
[TD="align: right"]20-11-2017 06:00
[/TD]
[/TR]
</tbody>[/TABLE]
I am expecting values like below, is it possible to get like this? If am fine with re-arranging data to get required output.
[TABLE="width: 318"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD] [/TD]
[TD]CP[/TD]
[TD]DP[/TD]
[TD]DB[/TD]
[/TR]
[TR]
[TD]DEV01[/TD]
[TD]Latest pkg of Type 'CP' on DEV01[/TD]
[TD]Latest pkg of Type 'DP' on DEV01[/TD]
[TD]Latest pkg of Type 'DB' on DEV01[/TD]
[/TR]
[TR]
[TD]DEV02[/TD]
[TD]Latest pkg of Type 'CP' on DEV02[/TD]
[TD]Latest pkg of Type 'DP' on DEV02[/TD]
[TD]Latest pkg of Type 'DB' on DEV02[/TD]
[/TR]
</tbody>[/TABLE]
Thanks
Jag
I have data in a table like below:
[TABLE="width: 346"]
<colgroup><col span="2"><col span="2"></colgroup><tbody>[TR]
[TD]Pkg Type[/TD]
[TD]Pkg Name[/TD]
[TD]DEV01[/TD]
[TD]DEV02[/TD]
[/TR]
[TR]
[TD]CP[/TD]
[TD]cp1[/TD]
[TD="align: right"]20-11-2017 00:00[/TD]
[TD="align: right"]21-11-2017 07:00[/TD]
[/TR]
[TR]
[TD]DP[/TD]
[TD]dp1[/TD]
[TD="align: right"]19-11-2017 00:00[/TD]
[TD="align: right"]20-11-2017 00:00[/TD]
[/TR]
[TR]
[TD]CP[/TD]
[TD]cp2[/TD]
[TD="align: right"]21-11-2017 00:00[/TD]
[TD="align: right"]21-11-2017 05:00[/TD]
[/TR]
[TR]
[TD]DP[/TD]
[TD]dp1[/TD]
[TD="align: right"]19-11-2017 09:00[/TD]
[TD="align: right"]20-11-2017 10:00[/TD]
[/TR]
[TR]
[TD]DB[/TD]
[TD]dp1[/TD]
[TD="align: right"]19-11-2017 00:00[/TD]
[TD="align: right"]20-11-2017 00:00[/TD]
[/TR]
[TR]
[TD]DB[/TD]
[TD]dp1[/TD]
[TD="align: right"]19-11-2017 05:00[/TD]
[TD="align: right"]20-11-2017 06:00
[/TD]
[/TR]
</tbody>[/TABLE]
I am expecting values like below, is it possible to get like this? If am fine with re-arranging data to get required output.
[TABLE="width: 318"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD] [/TD]
[TD]CP[/TD]
[TD]DP[/TD]
[TD]DB[/TD]
[/TR]
[TR]
[TD]DEV01[/TD]
[TD]Latest pkg of Type 'CP' on DEV01[/TD]
[TD]Latest pkg of Type 'DP' on DEV01[/TD]
[TD]Latest pkg of Type 'DB' on DEV01[/TD]
[/TR]
[TR]
[TD]DEV02[/TD]
[TD]Latest pkg of Type 'CP' on DEV02[/TD]
[TD]Latest pkg of Type 'DP' on DEV02[/TD]
[TD]Latest pkg of Type 'DB' on DEV02[/TD]
[/TR]
</tbody>[/TABLE]
Thanks
Jag