Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikview979
Specialist
Specialist

Daily,Monthly Qvd's

Hi  Experts,

How to create the DAILY & MONTHLY QVD'S  by using script ? Explain with Example ?

Labels (1)
2 Replies
manojkulkarni
Partner - Specialist II
Partner - Specialist II

follow same for year & qtr


LET vcurrentdate= num(MonthStart(AddYears(num(Today()),-3))); // Set start date

DO WHILE vcurrentdate <= Today()


  ExportSales:

  NOCONCATENATE

  LOAD *

  RESIDENT Sales

  WHERE InMonth(Date, $(vcurrentdate), 0) = true();

  LET vdatestring = Date($(vcurrentdate), 'YYYY_MMM');

//  STORE Sales INTO (qvd); // Your export file name
  STORE ExportSales INTO [.\$(vdatestring).QVD] (qvd); // Mine

  DROP Table ExportSales;

  LET vcurrentdate = num(AddMonths($(vcurrentdate), 1));

LOOP

qlikview979
Specialist
Specialist
Author

Hi All,

may be this is help full to others

'Daily & Monthly Qvd's

Regards