Skip to main content
Solved

split a row into multiple rows by a field with delimited values

  • October 20, 2016
  • 2 replies
  • 397 views

Forum|alt.badge.img

Hi, my table has a Owner field with multiple values delimited by either ; or &. Please see below table 1 for an example.. How to split the first and the third rows into multiple rows so the result like the table2?

Table 1:

TractIDOwner123312Jim, Jones; Maria, Jones

 

32141Alex, Bulman312312Russel, Terry & John, Stockton

Table 2:

TractIDOwner123312Jim, Jones123312Maria, Jones32141Alex, Bulman312312Russel, Terry312312John Stockton

Best answer by ebygomm

An AttributeSplitter followed by a list exploder will do this. If you want to split by multiple attributes it's probably best to replace the ampersand with a semi colon using a string replacer prior to using the attribute splitter

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • Best Answer
  • October 20, 2016

An AttributeSplitter followed by a list exploder will do this. If you want to split by multiple attributes it's probably best to replace the ampersand with a semi colon using a string replacer prior to using the attribute splitter


Forum|alt.badge.img
  • Author
  • October 20, 2016

An AttributeSplitter followed by a list exploder will do this. If you want to split by multiple attributes it's probably best to replace the ampersand with a semi colon using a string replacer prior to using the attribute splitter

Thanks for the diagram. Works perfect!