Daten in einer Spalte stapeln
Hallo Zusammen,
ich muss meine Tabellenstruktur ändern.
Meine Tabelle sieht etwas wie folgt aus:
Hello everyone,
I need to change my table structure.
My table looks something like this:
|Bereich | Produkt | Januar 24 | Februar 24 | März 24|
|West | Produkt1 | 500 | 400 | 450|
|Nord | Produkt1 | 300 | 200 | 100|
Neu brauche ich das Datum in einer Spalte und in einer andern den Wert:
I now need the date in one column and the value in another:
|Bereich | Produkt | Datum | Menge|
|West | Produkt1 | Januar 24 | 500|
|West | Produkt1 | Februar 24 | 400|
|West | Produkt1 | März 24 | 450|
|Nord | Produkt1 | Januar 24 | 300|
|Nord | Produkt1 | Februar 24 | 200|
|Nord | Produkt1 | März 24 | 100|
Habe das bisher umständlich über Column Filter (Datum das ich brauche) → Constant Value Column (Neue Spalte Monat mit Wert aus zB Januar 24) → Column Renamer (Datum in Menge umbenannt) gelöst.
Nur so muss ich die Nodes für jedes Datum anlegen und am Ende wieder zusammenführen.
Dafür kennt doch bestimmt jemand eine komfortablere Lösung :slight_smile:
Ive solved this in a laborious way so far via Column Filter (date I need) → Constant Value Column (new column month with value from e.g. January 24) → Column Renamer (date renamed into quantity).
This way I have to create the nodes for each date and merge them again at the end.
Surely someone knows a more convenient solution for this :slight_smile:
Vielen Dank und Gruß
Dimitry