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: 
raadwiptec
Creator II
Creator II

archiving

Hi all,

I would want to have a chart archived to a QVD based on a specific dates automated?

Labels (1)
12 Replies
raadwiptec
Creator II
Creator II
Author

bill that sounds good. but how can I see to that where the end date is the last date of the month

for ex

load....

resident....where only the last date = oit should be dynamic based on the month

Anonymous
Not applicable

You could use the MonthEnd() function :

     MonthEnd(Today())

Not applicable

You can check against Now() or Tpday() function in the script.

IF Floor(Now()) = Floor(MonethEnd(Now())) THEN

    

     AGGR_TABLE:

     LOAD

          FIELD1,

          FIELD2,

          FIELD3,

          EXPRESSION1,

          EXPRESSION2

     RESIDENT FactTable

     GROUP BY

          FIELD1,

          FIELD2,

          FIELD3

     ;

     STORE AGGR_TABLE into QVD_NAME.qvd (qvd) ;

ENDIF