Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikview979
Specialist
Specialist

Daily Qvd's

Hi Experts,

How to create Daily Qvd's? and how to generate  qvd  daily base contentiously?

1 Solution

Accepted Solutions
trdandamudi
Master II
Master II

Or may be like this:

DailyRecords:

LOAD * inline [

Field1,Field2,Field3

A,F10,100

B,S20,200

C,T30,300

];

LET vQVDName = Date(Today(),'DD-MM-YYYY');

STORE  DailyRecords into $(vQVDName).qvd (qvd);

The above script will create a .qvd file with filename as "03-05-2016.qvd".

View solution in original post

14 Replies
Gysbert_Wassenaar

Each day load only the records of the last day and store the resulting table in a new qvd file.

DailyRecords:

LOAD

     Field1,

     Field2,

     ...etc

     MyDate

FROM

     MySourceTable

WHERE

     MyDate = num(Today()-1)

     ;

LET vQVDName = 'DailyRecords' & Date(Today()-1,'YYYY-MM-DD')

STORE DailyRecords into $(vQVDName).qvd (qvd);


talk is cheap, supply exceeds demand
ramasaisaksoft

Hi Mahesh ,

What you are asking incremental load ?

or you want how many records are created newly today/update today?

https://www.resultdata.com/three-types-of-qlikview-incremental-loads/

Incremental Load in QlikView – Part2 – Learn QlikView

qlikview979
Specialist
Specialist
Author

Hi Gysbert Wassenaar,

where condition is not working and

You should change the Store command also

STORE "TABLE" DailyRecords into $(vQVDName).qvd (qvd);


after Store "TABLE" is not required.

qlikview979
Specialist
Specialist
Author

Hi Sai,

I Want to Generate Daily Qvd's Continuously?

qlikview979
Specialist
Specialist
Author

Hi Experts,

I want  daily Qvd's  on daily date base like this 

01/05/2016

02/05/2016

03/05/2016

03/05/2016

04/05/2016

05/05/2016

-

-

-

-

-

01/06/2016

-

-

-

-

etc.....

trdandamudi
Master II
Master II

Are you looking for something like below:

DailyRecords:

LOAD * inline [

Field1,Field2,Field3

A,F10,100

B,S20,200

C,T30,300

];

LET vQVDName = 'DailyRecords' & Date(Today(),'YYYY-MM-DD');

STORE  DailyRecords into $(vQVDName).qvd (qvd);

The above script will create a .qvd file with a filename as "DailyRecords2016-05-03.qvd"

qlikview979
Specialist
Specialist
Author

Hi Experts,

I want  daily Qvd's  on daily date base like this

01/05/2016

02/05/2016

03/05/2016

03/05/2016

04/05/2016

05/05/2016

-

-

-

-

-

01/06/2016

-

-

-

-

etc.....

trdandamudi
Master II
Master II

Or may be like this:

DailyRecords:

LOAD * inline [

Field1,Field2,Field3

A,F10,100

B,S20,200

C,T30,300

];

LET vQVDName = Date(Today(),'DD-MM-YYYY');

STORE  DailyRecords into $(vQVDName).qvd (qvd);

The above script will create a .qvd file with filename as "03-05-2016.qvd".

qlikview979
Specialist
Specialist
Author

Hi Thirumala,

today date is 4/5/2016

i am not getting  4/5/2016.qvd;

please check once . if i go to next day i want current date qvd.

Regards,

Mahesh