Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Tevita, it looks like you have a lot of Superseded nodes in that data flow, it can be beneficial to replace them. Which leads me onto my next suggestion. Have you tried using the Transpose node? It can be extremely fast, much faster than Pivot Data to Names. Unfortunately right now Pivot - Data to Names is using a lot of superseded nodes within it, whereas Transpose is a newly written node. Transpose is excellent for your case of switching the column Key to the field name and populating it with the field Value. I don't think I quite understand what RowId does, I would have presume it's just a row count, in which case you can use execCount after you transpose quite easily.
Look at the data flow attached. I just added onto your work a Transpose node to pivot the data. I gave 2 options for how to deal with the RowId. As I said I would have presumed it's a count per row, your logic right now evaluates it to 0 all the time.
Attached files
adsl.lna