# "Group by" column names coming from external source

**URL:** <https://forum.knime.com/t/group-by-column-names-coming-from-external-source/15005>\
**Category:** KNIME Analytics Platform\
**Created:** [April 28, 2019, 7:44am UTC](https://forum.knime.com/t/group-by-column-names-coming-from-external-source/15005 "2019-04-28T07:44:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![alex\_never](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/a/ccd318/32.png) [@alex\_never](https://forum.knime.com/u/alex_never)\
**Post date:** [April 28, 2019, 9:48am UTC](https://forum.knime.com/t/group-by-column-names-coming-from-external-source/15005/4 "2019-04-28T09:48:30Z")

</div>

I think I saw something similar before on the forum.

Please, take a look:

> [@How to control GROUP BY NODE using flow variables](https://forum.knime.com/t/how-to-control-group-by-node-using-flow-variables/10735/6):
>
> OK, here is a very simple example: [image] Firstly you must make sure the Table Row To Variable Loop Start node is executed before trying to configure the GroupBy node. In the GroupBy node settings window, add a column (any column at all - doesnt matter, as long as you have a column there!): Now, switch to the ‘Flow Variables’ tab, and expand the ‘grouByColumns’ [sic!] and then ‘InclList’. in the ‘0’ box, select the variable you want which will contain the grouping column name (NB…

> [@Using flow variables to set GroupBy grouping columns](https://forum.knime.com/t/using-flow-variables-to-set-groupby-grouping-columns/8766/2):
>
> Hi, you need to preconfigure the groupby node for being able to do this. only after the first configuration you can define the flow variables. You than can use pattern based aggregation page and add a predefined number of rows. Each row can than be controlled from the outside via flow variables. As it is a regex, you can also construct a regex which will match multiple columns at once. i hope this helps to get you started! Cheers, Iris&nbsp;

I hope that help you.

BR,  
Alex

---

_[View the full topic](https://forum.knime.com/t/group-by-column-names-coming-from-external-source/15005)._
