# Join table with same columns and repeating rows

**URL:** <https://forum.knime.com/t/join-table-with-same-columns-and-repeating-rows/8798>\
**Category:** KNIME Analytics Platform\
**Created:** [May 14, 2017, 12:44pm UTC](https://forum.knime.com/t/join-table-with-same-columns-and-repeating-rows/8798 "2017-05-14T12:44:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manojmanivannan](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/m/e274bd/32.png) [@manojmanivannan](https://forum.knime.com/u/manojmanivannan)\
**Post date:** [May 14, 2017, 12:44pm UTC](https://forum.knime.com/t/join-table-with-same-columns-and-repeating-rows/8798/1 "2017-05-14T12:44:43Z")

</div>

Hi,

I have a table of time series of electrical consumption. i have extracted some features like hour of the day, day of week, month of year. i have to add to each row the sum of the consumption for that specific hour, of each day of each month

say i have a row which is 10AM of tuesday of July. i want add a column called sum which will be the sum of all 10AM of all the 4 tuesday in the july month. similar for every hour of every day of the whole year.

i have used groupby node to find the sum like i wanted. but&nbsp;i can not match these summed values and&nbsp;join this data to the original table according to each hour, of each day, of each month.

how can i do this ? I have attached the workflow. please excuse of the messy nodes i have used in my workflow. i am beginner.

Thanks,

&nbsp;

- [groupby\_help.knwf](https://www.knime.com/sites/default/files/groupby_help.knwf)

---

<div class="post-metadata">

**Author:** ![Vincenzo](https://forum-cdn.knime.com/user_avatar/forum.knime.com/vincenzo/32/575_2.png) [@Vincenzo](https://forum.knime.com/u/Vincenzo)\
**Post date:** [May 19, 2017, 11:29am UTC](https://forum.knime.com/t/join-table-with-same-columns-and-repeating-rows/8798/2 "2017-05-19T11:29:55Z")

</div>

Hi manojmanivannan,

You would need to export the data together with the workflow in order to give the possibility to read the data in the workflow. In order to do that you need to uncheck the option "Exclude data from Export" in the Export KNIME workflow(s) dialog.

Cheers,

Vincenzo

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:26pm UTC](https://forum.knime.com/t/join-table-with-same-columns-and-repeating-rows/8798/3 "2023-06-23T20:26:40Z")

</div>


