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.
- I converted Oracle's HFM journal extract from .jlf to .txt.
- I then removed all miscellaneous document header rows leaving only the three primary information that is applicable to all records (journals) in the file.
The file is a .txt file and there are three issues that I am trying to solve.
- The first issue is how to move the first three document header rows to each record.
- The document header information applicable to all journals begins with an explanation point “!”.
- Each journal record needs to have ACTUAL, 2023, JUL.
- How can the document header information be added to each record?
- The second issue is how to move the journal header information to each record.
- Each journal is a separate section in the file.
- Each new journal begins with an explanation point “!” followed by JOURNAL. (!JOURNAL).
- The first part of !JOURNAL is a unique identifier for each journal and needed for each record for that specific journal.
- The only part needed for each record for that specific journal is the value. In this example it is <Entity Curr Adjs> but can be anything in the 5th location.
- !DESC row can be ignored.
- How can the journal ID and value be moved to the rows of the journal?
- The third issue is how to pull in all journals listed as separate sections in the file.
- The first row of the journal has no delimiter at the beginning of the row. It can begin with any letter or number.
- The number of rows to each journal can be 2 or more rows. The picture shows 4 rows but some exceed 700 rows.
- I have tried using Input Data but it only identifies the first journal and stops before the next journal.
- How to pull in all journals in the file listed in separate sections and not just the first journal?
Some help and guidance would be so appreciated.
