Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to open .dat file, and create QVD/QVW??

Hi, I am very new to QV, but I would love to learn, and any help is greatly appreciated!

I am interning at a company this summer, and was told that they log  stats in .dat files and rely on Qlikview to generate QVDs of the .dat files. Then they write QVW reports using the data in QVDs.  


However, since I am so new to this, I have no idea how to even create a QVD, or how to load the dat file correctly into the QV??


This is my screen after dragging in a .dat file into QV, delimited.

Any help at all is appreciated, thanks!

screen.png.



1 Solution

Accepted Solutions
Not applicable
Author

On File wizard select "Spaces" instead, then manually add labels to the columns containing good/useful data, see screenshot below.

Once this is done you can exclude from load the superfluous columns like @1, @3 by clicking X - this should do the trick for you.

Capture.GIF

View solution in original post

11 Replies
shiveshsingh
Master
Master

Hi

You need to reload the .DAT file by clicking the reload button.

I guess you have loaded the file by cliking on tables button that is present in bottom.

can you please attach the sample file here?

vishsaggi
Champion III
Champion III

When you load this do you see any data?

May be use store command to load this data into QVD.

Like

Table1:

Load @1 AS Fieldname1,

        @2 AS FieldName2,

        .......

FROM yoursourceFilepath;

Store Table1 INTO YourpathHere\Table1.qvd(qvd);

Drop Table Table1;

Not applicable
Author

Here is the screen when I drag the .dat file into QV.

I'm thinking it might be the problem with the .dat file? The delimiters arent commas, it seems to be some unreadable ASCII character. picture.png

shiveshsingh
Master
Master

please attach sample data

Not applicable
Author

Not applicable
Author

Here. This is a portion of the .dat file. I can't post all of it, due to confidentiality.

Not applicable
Author

On File wizard select "Spaces" instead, then manually add labels to the columns containing good/useful data, see screenshot below.

Once this is done you can exclude from load the superfluous columns like @1, @3 by clicking X - this should do the trick for you.

Capture.GIF

Not applicable
Author

Hi, thank you so much!

With this, I was able to create a QVD after delimiting the file.

However, how do I create a QVW now? I was told I could create a QVW report of sorts, from the QVD File

Thanks in advance!

Not applicable
Author

It's my pleasure!

I am sorry I don't understand. A QVW is a QlikView document / application (app)

You can use script function "Store" to create a QVD or CSV file from a QVW.

Store ‒ QlikView

Warm regards,

Nish