Please pardon the basic question as I am new to Alteryx but have a complex input file to import and I am unable to find solutions in the community nor the learning videos. I have built a handful of workflows but this file is more advanced then I am used to using.
I am trying to create a table of records based on Oracle HFM journal extract. The extract uses a semicolon “;” as a delimiter.
I will attach a screenshot of the .txt file.
I prepped the file completing the following steps.
The file is a .txt file and there are three issues that I am trying to solve.
Some help and guidance would be so appreciated.
Solved! Go to Solution.
Hi @WWillis
For this I'd suggest using a multi-row formula tool to flag each section.
if startswith([Field1],'!JOURNAL') then [Row-1:ID]+1 else [Row-1:ID] endif
Then you'll be in a position to start splitting out the data as needed.
@WWillis -- check this out and see if it works for you. I'd bring it in as a non-delimited file and work some magic within the workflow. My attempt is rough, so I am sure you can fine tune the REGEX in there a bit. Hope it helps. :)
DanielG,
Yes! Thank you. You did address my issues and found the solution.
I could not even get the file to import as I did not know you could import as a non-delimited file. As such it kept failing to import with all the required information. Your solution is exactly what I was researching. And you are correct, I will be using RegEx to continue to parse the information as required.
Additionally, you solved my other two issues on how to parse and then pivot the document header and journal header information joining to the journal records.
I cannot express how grateful I am for your help.
Deepest of Thanks,
WWillis
@WWillis -- glad to help. Alteryx is such a fun tool, so I was actually excited by the problem you presented. (I know that might sound a little sad... 😀 haha)