Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
WE ARE LISTENING! New Navigation for Qlik Community, Sept. 26: TELL ME MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Hann
Partner - Contributor III
Partner - Contributor III

Generate qvd for previous 3 day data as current day

Hi,

I have a question. I'd like to generate a qvd for today that consist of the previous 3 day data.

So for my current task, I need to load data for today :-17 Sept 2020. The qvd must contain data from previous 3 day data 14/15/16 Sept 2020. Here I attached my current file that i use to generate manually.

Really appreciate any help from member. 

Thanks.

Labels (1)
1 Solution

Accepted Solutions
Hann
Partner - Contributor III
Partner - Contributor III
Author

Hi @mayuringale25 

Thanks for the feedback however for my question, I need a qvd that date as today that consist of the previous 3 days worth of data.

I did provide my solution here https://community.qlik.com/t5/Qlik-Sense-App-Development/Looping-to-generate-QVD/m-p/1744931#M57152

Thanks again for the feedback. 

 

Regards,

Hannan Ahmad

View solution in original post

2 Replies
mayuringale25
Partner - Creator
Partner - Creator

Hi @Hann 

You can try this script;

 Load Field1,

    Field2,

   DateField 

    from xyz where DateField= date(today()-3,'DD/MM/YYYY');

*Make Sure date formats are same.

Thanks and Regards
Mayur Ingale
Hann
Partner - Contributor III
Partner - Contributor III
Author

Hi @mayuringale25 

Thanks for the feedback however for my question, I need a qvd that date as today that consist of the previous 3 days worth of data.

I did provide my solution here https://community.qlik.com/t5/Qlik-Sense-App-Development/Looping-to-generate-QVD/m-p/1744931#M57152

Thanks again for the feedback. 

 

Regards,

Hannan Ahmad