I have data which looks like below table.
grp dpt cls lvl Grp1 0 Grp1 dpt1 1 Grp1 dpt2 1 Grp1 dpt1 cs