Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Store MTD data into QVD

Hi All,

I want to store max moth start to till date data in to QVD. Daily I’m getting one day data. How to do this in Qliksense script .

Thanks,

Krishna

2 Replies
Anil_Babu_Samineni

Perhaps this?

Let Variable = Max(Month);

And in script, You may try like below?

Table:

Load Date From Source Where Date >=MonthStart($(Variable)) and Date <= Today();

Store Table into [Path\FielName.qvd] (qvd);

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
PrashantSangle

Hi,

If you always want MTD then

you can simply try like

Load * from tableName

where Date(dateField,'YYYYMM')=Date(Today(),'YYYYMM')

Regards,

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂