Thursday, March 7, 2013

What is Inline Load


Inline Load:
You can load data from file or can define the data within Qlikview and load (Inline) from there. The inline data can be defined in the Inline Data Wizard as: Insert > Load Data > Inline Data.
e.g.
LOAD * INLINE [
    Display as
    Dollars
    Percentage
];


Inline is used if data should be typed within the script, and not loaded from a file. Use the Inline Data Wizard for help with the creation of load inline statements.
data ::= [ text ]
Data entered through an inline clause must be enclosed by double Quotation Marks or with square brackets. The text between these is interpreted in the same way as the content of a file. Hence, where you would insert a new line in a text file, you should also do it in the text of an inline clause, i.e. by pressing the Enter key when typing the script. 

Inline Data Wizard

The Inline Data Wizard dialog is opened from the Insert menu, Load Statement, Load Inline. It is used to create load inline statements in the script.
The dialog contains something looking like a spreadsheet and in fact works like one in most respects. Note however that calculation formulas will not be evaluated in this spreadsheet as they would e.g. in Microsoft Excel.
Each column represents a field to be loaded into QlikView by means of an inline table. Each row is a record in the table. A data cell is selected by clicking it. A value may then be typed or pasted in from clipboard. Press Enter or an arrow key to accept the value and move to another cell.
The top (label) row is reserved for field labels. Double-click in a label cell to edit it. If no values are entered in the label row the field names F1, F2 etc will be used.

Edit Menu

The Edit menu contains some basic editing commands.
Insert Column Inserts a new blank column if one or more columns are selected.
Delete Column Deletes the selected column(s).
Insert Row Inserts a new blank row if one or more rows are selected.
Delete Row Deletes the selected rows.

Tools Menu

The Tools menu contains the command Document Data that opens the Import Document Data Wizard from which it is possible to paste field values from any existing field in the document. In the dialog it is possible to see how many field values are present in any selected field. It is also possible to choose to insert all values, selected values or excluded values into the inline wizard.
Click OK to close the dialog and generate a Load inline statement reflecting the contents of the dialog's table grid.


1 comment:

  1. I like you blog as it always provides a very informative topic related to qlikview, such a wonderful site I would like to share with my friends. QlikView Training in Hyderabad

    ReplyDelete