Pass variables name and value into table column

Hi!

I wondering if is there a way to pass multiple variable value and name into table column.
The names into one column and the values into another.
image

I’ve tried table column to variable but It not works as I want, It produces multiples columns, but I want all the names into one column and all the values into another column, like this
image

All that is to use the table together with the node “string replacer (dictionary)” passing value and name column in pattern column and replacement column respectively, then being able to replace string with dynamic values according to need instead of pass static values.

I’ve reading a post telling about pass variable into table column, but that way not works in my case.

For those who want something like this, I realized that using that below node combination I can reach what I want:

image

  1. metanode “gera var” generate the variables name and value needed

2.variable to table row set all the variables into multiple columns
image

3.unpivot to generate the column with the name and the column with the value from variables
image

4.string replacer(dictionary) to use the column names in pattern column and use the column values in replacement column

:slight_smile:

2 Likes

Nice! Thanks for posting what you came up with to benefit everyone.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.