This seemed like a simple operation at first, but quickly became more complicated.
Here’s the workflow I came up with. I’d love to see if anyone else here can come up with something simpler.
This is an other approach. Where I assumed that the columns (except for the KPI columns) have a constant value (as in your example). some_pivoting.knwf (47.6 KB)
But one more question. in my original date i have more. My problem is, that the “KPI” is only in one line and i dont know how to adjust your workflow that the entry is in every line…
you can use a Missing Value node after the Column Appender node, which is configured to apply the value from the previous row to any rows that have missing values: