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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reg:Dynamically update file name

Hi all,

    I am having following scenario.ln that every month .qvw file name has to change automattically/dynamically.

Ex:

    if current month file name is ABC_05_2012 (May month). when next month (june) comes fle automattically should get changed like ie;ABC_06_2012.

kindly let me know if any of you have thughts on this.

-Jai

Labels (1)
1 Reply
oscar_ortiz
Partner - Specialist
Partner - Specialist

You can use variables to make the load more dynamic.

LET vMonth          = Num(Month(Today()),'00');

LET vYear          = Year(Today());

Then in your load statement:

LOAD

     *

FROM

     ABC_$(vMonth)_$(vYear)

;

Good luck

Oscar