- Posts: 27
Transpose rows to (variable) columns
- Gennaro
- Topic Author
- Offline
- User
-
Less
More
#2221
by Gennaro
Transpose rows to (variable) columns was created by Gennaro
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
-
- Offline
- Admin
-
Less
More
- Posts: 455
#2222
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Re:Transpose rows to (variable) columns
Hi Gennaro,
You can do that with the help of the GroupBy Heater and for each (row) column you need one IF-THEN-ELSE Heater to decide which content you want to store in which column on the WRITE side.
For the condition you need one additional AutoID Heater . The Heater counts per each group from 1 to how often the same Code (group) is available. For each column you need a condition like this.
= 1 = for the first read row = the first write column
= 2 = for the second read row = the second write column
I've made a brief example (rows to columns) based on your example data; please have a look to the attachment.
This attachment is hidden for guests.
You can do that with the help of the GroupBy Heater and for each (row) column you need one IF-THEN-ELSE Heater to decide which content you want to store in which column on the WRITE side.
For the condition you need one additional AutoID Heater . The Heater counts per each group from 1 to how often the same Code (group) is available. For each column you need a condition like this.
= 1 = for the first read row = the first write column
= 2 = for the second read row = the second write column
I've made a brief example (rows to columns) based on your example data; please have a look to the attachment.
This attachment is hidden for guests.
Please log in or register to see it.
Best wishes
Robert Stark
Please Log in or Create an account to join the conversation.
- Gennaro
- Topic Author
- Offline
- User
-
Less
More
- Posts: 27
#2224
by Gennaro
Replied by Gennaro on topic Re:Transpose rows to (variable) columns
thanks a lot!
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds
