JugglerJAF
Active Member
- Joined
- Feb 17, 2002
- Messages
- 297
- Office Version
- 365
- Platform
- Windows
Apologies if this is a "newb" question, but Power Query is completely new to me and I've no idea how to go about this...
I have a text file which is data dump from our email client and contains almost a million rows, most of which I don't actually need for the report I'm creating. The data is a single column for each record and looks something like this (anonymised):
[TABLE="class: grid, width: 600"]
<tbody>[TR]
[TD]ACL check OK, connection accepted from peer <123.4.567.89>[/TD]
[/TR]
[TR]
[TD]Message from: [abcd.efg@companyone.com]
[/TD]
[/TR]
[TR]
[TD]Message to: [joe.bloggs@companytwo.com][/TD]
[/TR]
[TR]
[TD]..Scanning decoded file. HH01_18_08_00_08_27.jpg
[/TD]
[/TR]
</tbody>[/TABLE]
What I need to do is to only pull through rows which contain the text strings "message to" or "message from"
I'm using Excel as part of the Microsoft Office Professional 2013 Suite and have downloaded and installed the Power Query AddIn from Microsoft.
I've created the basic query by linking to the text file, but it's bringing through all records rather than just those containing "message to" or "message from"
Any suggestions as to how to do this would be gratefully appreciated!
I have a text file which is data dump from our email client and contains almost a million rows, most of which I don't actually need for the report I'm creating. The data is a single column for each record and looks something like this (anonymised):
[TABLE="class: grid, width: 600"]
<tbody>[TR]
[TD]ACL check OK, connection accepted from peer <123.4.567.89>[/TD]
[/TR]
[TR]
[TD]Message from: [abcd.efg@companyone.com]
[/TD]
[/TR]
[TR]
[TD]Message to: [joe.bloggs@companytwo.com][/TD]
[/TR]
[TR]
[TD]..Scanning decoded file. HH01_18_08_00_08_27.jpg
[/TD]
[/TR]
</tbody>[/TABLE]
What I need to do is to only pull through rows which contain the text strings "message to" or "message from"
I'm using Excel as part of the Microsoft Office Professional 2013 Suite and have downloaded and installed the Power Query AddIn from Microsoft.
I've created the basic query by linking to the text file, but it's bringing through all records rather than just those containing "message to" or "message from"
Any suggestions as to how to do this would be gratefully appreciated!