Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

Parsing Financial Information Exchange (FIX) files




I am trying to parse a FIX file, which I understand  is a type of XML file in that each field within a record has its own header. So in the example below (which I have put into columns), the numbers in black (34, 52, etc) are field headers and those in blue are the actual data. 


My problem is that a simple text to column parse as per below will not work as the nil value fields are not recorded and hence the records are multi length (see field headed '6' below as an example).


To parse this I guess I can spend some time writing lengthy IF-THEN statements, but I am just wondering if there is a quick way to parse this using a standard AlteryX tool(s)? I had a go with the XML parser, but did not get far. There are over 300 or so headers so I am hoping I can create the column names dynamically. 


If anyone has an existing workflow or any tips, I would hugely appreciate...Newbie to AlteryX, so apologies if I am missing something obvious...


Many thanks!



Could you post an example of the raw data?


Hi David


Here we go


The raw file is in three columns, with the XML data in column 3, separated with pipes instead of '<' and '>', so I am thinking of a way to replace the pipes to turn this into a more standard XML format?


@DavidP wrote:

Could you post an example of the raw data?



hi @Amohazab 


Once you get the data into the format that you displayed, the attached workflow

1. Transposes

2. Splits the value into Key and data

3. Crosstabs to align all the data under the correct key.  The Crosstab accounts for the missing key/data pairs in the records displaying those as empty.







@danilang bet me to it.


fix parse.png




High praise indeed from @DavidP.  You have to get up early to beat him.  Here's an update to mine that starts with your raw dataResult2.png 






Hi Dani and David


Praise indeed -  worked pretty much out of the box, thank you!