- Posts: 27
Transpose rows to (variable) columns
- Gennaro
- Topic Author
- Offline
- User
Less
More
12 years 9 months ago #2221
by Gennaro
Transpose rows to (variable) columns - Post(2221) was created by Gennaro
Attachments:
Please Log in or Create an account to join the conversation.
- FlowHeater-Team
- Offline
- Admin
12 years 9 months ago #2222
by FlowHeater-Team
Best wishes
Robert Stark
Replied by FlowHeater-Team on topic Re:Transpose rows to (variable) columns - Post(2222)
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.
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.
Attachment rows_to_columns-20120321.zip not found
Best wishes
Robert Stark
Attachments:
Please Log in or Create an account to join the conversation.
- Gennaro
- Topic Author
- Offline
- User
Less
More
- Posts: 27
12 years 9 months ago #2224
by Gennaro
Replied by Gennaro on topic Re:Transpose rows to (variable) columns - Post(2224)
thanks a lot!
Please Log in or Create an account to join the conversation.
Time to create page: 0.263 seconds