I want to use them in another table as new columns headers, and search for those column names in another column named DATA (that contains a bunch of CSV data).
Basically :
DATA
dcsapp.url
dcsapp.m_ssmenu
dcsapp.m_ssnom
dcsapp.url;dcsapp.m_ssmenu
dcsapp.url
dcsapp.m_ssmenu
dcsapp.m_ssmenu
dcsapp.m_ssmenu
dcsapp.m_ssnom
dcsapp.m_ssnom
I managed to generate the list, but putting it as column headers is giving me trouble, also how to search for the content of the column name in another column ?
I want to create extra columns in my data table, based on those values.
After that I want that for each of those columns I check for each line if the column name exists in the column data. Then display it (or 1, or X… whatever just something that shows that this particular label is indeed contained in the data column.
Its really difficult to try to help you without your current workflow including your data. Have you tried to transpose the column with the desired column names? This will create a row with the column names which can be converted into headers with the Row to Column Names node.
Basically I want to search for dscpref_ces: dcsapp.url (and the others) in another column and display something when it matches (see the table a few comments up).
Is that even possible ? That’s pretty niche and my columns can vary in numbers of course… otherwise where would be the fun
For example here I should to find “dcspref_ces: DCSApp.Desc” and dcspref_ces: DCSApp.URL :
I am not sure it’''s the same, or maybe I misunderstood ?
I want to check for each of those column names inside another column and write if that data does match. See the table in my first message, hopefully that’s easier to understand than my broken english
Make sure the data is included in the workflow. If you’ve got any readers pointed to local files, they won’t be included in your post. Create a “data” folder inside your workflow and store your data there. Then point any readers as shown below:
Ok I figured it out, but it’s weird : when looping for the data it actually doesn’t overwrite the column I add, but it iterates on ALL the columns. So I end up with a bunch of columns labelled "iter #1, #2 and so on…
I used a column filter to remove all ITER columns, but I am curious as to how to prevent this from happening to begin with