Hi @rajanf -
No looping needed - just a little Unpivoting node magic, and some cleanup.
UnpivotingExample.knwf (11.9 KB)