# Data Reorganization: Separating Categories and Values in KNIME

**URL:** <https://forum.knime.com/t/data-reorganization-separating-categories-and-values-in-knime/76935>\
**Category:** KNIME Analytics Platform\
**Created:** [January 31, 2024, 5:05pm UTC](https://forum.knime.com/t/data-reorganization-separating-categories-and-values-in-knime/76935 "2024-01-31T17:05:44Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [March 26, 2024, 5:08pm UTC](https://forum.knime.com/t/data-reorganization-separating-categories-and-values-in-knime/76935/9 "2024-03-26T17:08:28Z")

</div>

@aurelienchauvin I tried to take a look but was not able to make sense of your data. So the fist step would be to clearly define what data you have and what task should be done and provide an example that fits this description and where you can explain which outcome you would expect.

This is where I currently stand:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/0/8/0890f4d18fe976ea4ce32f218312b06d6c207a16.png)

> **[CSV - Import Complex Structure - KNIME Forum (76935) – mlauber71](https://hub.knime.com/mlauber71/spaces/Forum/2024/CSV%20-%20Import%20Complex%20Structure%20-%20KNIME%20Forum%20(76935)~ezJPD9fqWCpi2PNl/current-state)**
>
> CSV - Import Complex Structure - KNIME Forum (76935)

If you want to identify blocks and deal with them later you can take a look at this example:

> [@Move head rows to a column](https://forum.knime.com/t/move-head-rows-to-a-column/45094/2):
>
> @willy_oracle typically you would mark all lines with a [Counter](https://kni.me/n/pVT_aAQrO1Jkt9cG). Then identify the ‘headers’ with a rule engine [IF Col1 LIKE “Head\*” =\> Counter] and keep that (starting) row in a separate column. Then you [fill the missings with the previous value](https://forum.knime.com/t/replace-placeholder-with-values-from-above/38602/4) so a block would emerge marking the data table: [image] So now you have the blocks marked an can use a [Table Row to Variable Loop Start – KNIME Community Hub](https://kni.me/n/q7loejCZ1HWH5hUr) or [Group Loop Start – KNIME Community Hub](https://kni.me/n/7a8fxq51Z1jrgXeM) to do something with the blocks (export them delet…

---

_[View the full topic](https://forum.knime.com/t/data-reorganization-separating-categories-and-values-in-knime/76935)._
