Discussion Board for collaboration on QlikView Scripting.
I Have One Qvd ,called Year_qvd ,that qvd contains the yearly wise data.i was splitted that qvd into monthly wise qvd's (MAR,APR,MAY ..upto this month ,remaining data will come in future.)
in script level ,i want to load the previous month qvd data dynamically.
from may.qvd ------> here i want to change may.qvd to june.qvd dynamically in script.
if july month will come,automatically june qvd gets created.
now i want to load june qvd data dynamically instead of may.
How to achive this dynamically.
Try like below:
Let vPrevMonthNameQVD = Month(Addmonths(Today(),-1)) & '.qvd' ;
LOAD * FROm [$(vPrevMonthNameQVD).qvd] (qvd) ;