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

inline_load

Hi,

Can any body plz share the doc's about Inline load.

thanks in advnce

4 Replies
tresesco
MVP
MVP

Have you searched in help? Any doubt there?

brijesh1991
Partner - Specialist
Partner - Specialist

load [ distinct ] *fieldlist

[( from file [ format-spec ] |

from_field fieldassource [format-spec]

inline data
[ format-spec ]
|

resident
table-label
|

autogenerate size )]

[ where criterion | while criterion ]

[ group_by groupbyfieldlist ]

[order_by orderbyfieldlist ]

ramkrishna86
Creator II
Creator II

Dear Sree Vas,

Use the below syntex for inline load in qlikview:

KPI_Sort_Order_Executive_Summary:

LOAD * INLINE

[

OP_KPI_ID, Sort order

CSL, 1

TFR,2

RETURN,3

DC,4

ADSO,5

DSOEB,6

DTS,7

WFA,8

EI,9

COG,10

SFS,11

PPOC,12

];

for inline load you have to make a table in qlikview itself, inline load means data is loaded from table which resided within same QVW.

Not applicable
Author

DIFFERENT WAYS TO LOAD DATA IN TO QLIKVIEW

INTRODUCTION:

There are different ways and methods to load data into Qlikview. Explained below with examples and uses of methods of loading data into qlikview.

Types:

  1. 1. Loading data from the file.
  2. 2. Inline Load
  3. 3. Resident Load
  4. 4. Incremental Load
  5. 5. Binary Load
  6. 6. Add Load
  7. 7. Buffer Load
  8. 1. 1. Loading Data from File:
  • This method is normal method of loading data into the Qlikview application.
  • Load data from files like Excel,MSDB,CSV,Txt files etc., can be done by creating ODBC and connecting to your database directly.

Example:

LOAD A,  B

FROM

(biff, embedded labels, table is Data$);

  1. 1. 2. Inline Load:
  • The second method of loading is Inline Load where the user can define their own data and load within Qlikview.
  • The Inline data can be defined  in the inline  Data Wizard .

InsertàLoad Dataà Inline Data.

Example:

LOAD * INLINE [

A

B

C

];

  1. 1. 3. Resident Load:
  • Loading data from already loaded Qlikview table is possible using Resident Load.
  • Transformations and  Calculations can be performed in the resident load script.
  • Loading a existing field or a succeeding table is possible too.

Example:

Employees:

Select Empname,

HireDate,

Salary,

Incentives

From Employee;

Load Empname,

Month(HireDate),

Salary + Incentives as ‘GrossSalary’

Resident Employees;

  1. 1. 4. Incremental Load:
  • Incremental load is used to load only the new or changed records.
  • It will be very helpfull where a database is big.
  • This involves loading old data from the QVD and new records from the database and combine into single QVD.

Example:

SQL SELECT PrimaryKey, X, Y FROM DB_TABLE

WHERE ModificationTime  >= #$(LastExecTime)#

AND ModificationTime  <  #$(BeginningThisExecTime)#;

Concatenate LOAD PrimaryKey, X, Y FROM File.QVD;

STORE QV_Table INTO File.QVD;

  1. 1. 5. Binary Load:

Loading data from one qlikview file is called Binary Loading. The data model of one QVW file is copied from RAM to disk in 0s and 1s for another qvw file.

This Binary Load will be more usefull  when you want to enhance the already built qvw with the same metrices defined.

Example:

Binary c:\order.qvw;

  1. 1. 6. Add Load:

Add Load is used to append or concatenate the data from one table to other table. During a partial reload the QlikView table, for which a table name is generated by the add load/add select statement (provided such a table exists), will be appended with the result of the add load/add select statement.

Since it wont check for duplicates, it is required us suitable where condition in the script.

Example:

LOAD ENO, ENAME from Employees.csv;

ADD LOAD ENO, ENAME from Employees1.csv Where Not Exists(ENO);

  1. 1. 7. Buffer Load:

Buffer load helps to create the QVD files automatically.  The created QVD will be maintained as defined in  User Preferencesà Locations.

Example: Buffer select * from Employees.csv;


Ref :  Shiva Sankar CITAGUS