Hi,
I have a power query problem I can't solve. I have data sourced a text file in a single column. In the data there are interface records that may or may not have related data, if there is related data it follows in the next lines until there is another interface record. I need to get each of the 'Word' records on their own columns in rows next to their corresponding Interface record.
I have an example below of what the source data structure looks like and further down how it should look.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Interface.Name1[/TD]
[/TR]
[TR]
[TD]Word1.Variable[/TD]
[/TR]
[TR]
[TD]Word2.Variable[/TD]
[/TR]
[TR]
[TD]Interface.Name2[/TD]
[/TR]
[TR]
[TD]Interface.Name3[/TD]
[/TR]
[TR]
[TD]Word1.Variable[/TD]
[/TR]
[TR]
[TD]Word3.Variable[/TD]
[/TR]
[TR]
[TD]Interface.Name4[/TD]
[/TR]
[TR]
[TD]Word2.Variable[/TD]
[/TR]
[TR]
[TD]Interface.Name5[/TD]
[/TR]
[TR]
[TD]Word1.Variable[/TD]
[/TR]
[TR]
[TD]Word2.Variable[/TD]
[/TR]
[TR]
[TD]Word3.Variable[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Interface.Name1[/TD]
[TD]Word1.Variable[/TD]
[TD]Word2.Variable[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Interface.Name2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Interface.Name3[/TD]
[TD]Word1.Variable[/TD]
[TD][/TD]
[TD]Word3.Variable[/TD]
[/TR]
[TR]
[TD]Interface.Name4[/TD]
[TD][/TD]
[TD]Word2.Variable[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Interface.Name5[/TD]
[TD]Word1.Variable[/TD]
[TD]Word2.Variable[/TD]
[TD]Word3.Variable[/TD]
[/TR]
</tbody>[/TABLE]
I am having a hard time establishing a relationship between each 'set' of records. I have tried adding new columns for each type of record but when indexing but it doesn't work with the variable length between each record 'set'
Thanks
Ryan
I have a power query problem I can't solve. I have data sourced a text file in a single column. In the data there are interface records that may or may not have related data, if there is related data it follows in the next lines until there is another interface record. I need to get each of the 'Word' records on their own columns in rows next to their corresponding Interface record.
I have an example below of what the source data structure looks like and further down how it should look.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Interface.Name1[/TD]
[/TR]
[TR]
[TD]Word1.Variable[/TD]
[/TR]
[TR]
[TD]Word2.Variable[/TD]
[/TR]
[TR]
[TD]Interface.Name2[/TD]
[/TR]
[TR]
[TD]Interface.Name3[/TD]
[/TR]
[TR]
[TD]Word1.Variable[/TD]
[/TR]
[TR]
[TD]Word3.Variable[/TD]
[/TR]
[TR]
[TD]Interface.Name4[/TD]
[/TR]
[TR]
[TD]Word2.Variable[/TD]
[/TR]
[TR]
[TD]Interface.Name5[/TD]
[/TR]
[TR]
[TD]Word1.Variable[/TD]
[/TR]
[TR]
[TD]Word2.Variable[/TD]
[/TR]
[TR]
[TD]Word3.Variable[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Interface.Name1[/TD]
[TD]Word1.Variable[/TD]
[TD]Word2.Variable[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Interface.Name2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Interface.Name3[/TD]
[TD]Word1.Variable[/TD]
[TD][/TD]
[TD]Word3.Variable[/TD]
[/TR]
[TR]
[TD]Interface.Name4[/TD]
[TD][/TD]
[TD]Word2.Variable[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Interface.Name5[/TD]
[TD]Word1.Variable[/TD]
[TD]Word2.Variable[/TD]
[TD]Word3.Variable[/TD]
[/TR]
</tbody>[/TABLE]
I am having a hard time establishing a relationship between each 'set' of records. I have tried adding new columns for each type of record but when indexing but it doesn't work with the variable length between each record 'set'
Thanks
Ryan