Dynamic column filter

Hi

I would like to remove the last column of my dataset using a column filter node, however as the number of columns in the dataset will vary from month to month, is it possible to do this dynnamically?

Thanks
Chris

You could list the column names (Column Header to Row then Transform), filter it down to the last one using the Group By node, then use that as a flow variable to select the column for filtering in the column filter or column filter Regex node.

1 Like

Hi @iCFO

How would I filter down to the last one using the groupby node?

I believe that there is a “Last” aggregation option.

3 Likes

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