English 中文(简体)
Qlikview Tutorial

QlikView Data Loading

QlikView Report Interface

QlikView Data Transformation

QlikView Data Model

QlikView Data Analysis

Qlikview Useful Resources

Selected Reading

QlikView - Delimited file
  • 时间:2024-09-17

QpkView - Depmited File


Previous Page Next Page  

QpkView can use the data in plane text file where the fields are separated by characters pke comma, tab, semicolon etc. Here, we will take CSV as an example. A file in which each column of data is separated by a comma is known as a CSV file. It is a very widely used file format to store plane text-data organized as columns and rows.

QpkView loads csv files using the Data from files options available in the script editor under the File Menu. Alternatively, you can also open a new QpkView document and press control+E to get the script editor window as shown below. Choose the file Product_details.csv from the appropriate path.

1_dipmeted_insert_script

Select the File Headers

On opening the selected CSV file, a window as shown below comes up. Under Labels choose Embedded Labels, as our file has a header row as its first row. Cpck Finish.

csv_file_header

Load Script

The loading of the file into QpkView is done through the load script, which can be seen in the screen shot below. Hence, when we use any depmited file, we can tweak the below script as per the file format.

3_dipmeted_load_script

Now the script wizard prompts to save the file in the form of *.qvw file extension. It asks to select a location where you need to save the file. Cpck "Next step" to proceed. Now, it is time to see the data that is loaded from the depmited file. We use a Table Box sheet object to display this data.

Create Table Box

The Table Box is a sheet object to display the available data as a table. It is invoked from the menu Layout → New Sheet Object → Table Box.

4_table_box_option

On cpcking Next, we get the option to choose the fields from the Table Box. You can use the Promote or Demote buttons to rearrange the fields.

5_Table_box_fields

Table Box Data

On completing the above step, the Table Box Sheet Object appears which shows the data that is read from the Excel file.

6_table_box_result Advertisements