Hello,
I have a file like below that contains datewise value for every hour for 2 locations. I need to add the value for the same hours for ServerA and ServerB. Using Hashes, I am able to add the server value per hour. But cannot pass it to a table. I am selecting "Loc" via a dropdown to use a switch to select the data.
Input File:
Loc Date TYPE Server Hour Val
EMEA 1-Sep TYPE-A Server-A 00 4
EMEA 1-Sep TYPE-A Server-B 00 4
EMEA 1-Sep TYPE-A Server-A 01 5
EMEA 1-Sep TYPE-A Server-B 01 5
EMEA 1-Sep TYPE-A Server-A 02 15
EMEA 1-Sep TYPE-A Server-B 02 15
EMEA 2-Sep TYPE-A Server-A 00 4
EMEA 2-Sep TYPE-A Server-B 00 4
EMEA 2-Sep TYPE-A Server-A 01 5
EMEA 2-Sep TYPE-A Server-B 01 5
EMEA 2-Sep TYPE-A Server-A 02 15
EMEA 2-Sep TYPE-A Server-B 02 15
OUTPUT in HTML Table
Hours/Date 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Sep-1 08 10 30
Sep-2 08 10 30