Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
regowins
Creator II
Creator II

Bring Text file into QV with Transformation

I have a text file that I need to bring into QlikView for processing and reporting.  Here is an image of what needs to be done along
with the example file attached.

Take the date (in red) in the header and add it as column repeated in the detail line (in blue).  Exclude the information surrounded
in black.  Please note the special character highlighted in yellow which signifies the end of the section.  The new date follows. 

Any ideas how I can accomplish this ?

Thanks!

1 Solution

Accepted Solutions
regowins
Creator II
Creator II
Author

The solution to this question has been resolved here Text file Transformation Error

Thanks.

View solution in original post

7 Replies
juleshartley
Specialist
Specialist

I'm not clear what format this is in...  are you saying that you want to read data from a .txt?

juleshartley
Specialist
Specialist

See here for further discussion

regowins
Creator II
Creator II
Author

yes, read data from the attached example .txt file.

juleshartley
Specialist
Specialist

This is not a very good format for querying and you will have to do a lot of transformation. I've put a link to another discussion, which is being moderated, but I would think you will have to do several passes at the data, possibly including loops. But it may not be possible to do what you are hoping.

regowins
Creator II
Creator II
Author

Ok Where is the link?

marcus_sommer

To load the right rows is quite easy. You could define a header until the first field-names and other empty rows could be removed per where-clause. To catch the date is more complicated - see here approaches for a similar case:

Re: Loading spreadsheets with different formatting

Having problems with Creating new column in Document Load Wizard in QV

Further you could find good examples and explanation about loading unstructured data and the using from transformation-wizard in the book QlikView 11 for Developers - QlikView Book from Barry Harmsen.

- Marcus 

regowins
Creator II
Creator II
Author

The solution to this question has been resolved here Text file Transformation Error

Thanks.