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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

load data from ERP over the previous data

hi, i loaded the data from the erp with this script;

GECMIS_YILLAR_FIILI:

sql

select * from IFSAPP.SAMET_QLIK_FIILI_MALIYETLI

where yıl = '2015';

STORE GECMIS_YILLAR_FIILI INTO 'Q:\GECMIS_YILLAR_FIILI.qvd' ;

now i want to get the 2016 datas from erp, and aggregate this two data.

how can i write this script?

thanks

somar

Labels (1)
1 Solution

Accepted Solutions
marcus_sommer
MVP
MVP

Maybe something like this:

GECMIS_YILLAR_FIILI_2016:

sql

select * from IFSAPP.SAMET_QLIK_FIILI_MALIYETLI

// where yıl = '2016'; // unless year is really as string

where yıl = 2016;

STORE GECMIS_YILLAR_FIILI INTO 'Q:\GECMIS_YILLAR_FIILI_2016.qvd' (qvd);

drop tables GECMIS_YILLAR_FIILI_2016;

Load * From 'Q:\GECMIS_YILLAR_FIILI_20*.qvd' (qvd);

- Marcus

View solution in original post

2 Replies
marcus_sommer
MVP
MVP

Maybe something like this:

GECMIS_YILLAR_FIILI_2016:

sql

select * from IFSAPP.SAMET_QLIK_FIILI_MALIYETLI

// where yıl = '2016'; // unless year is really as string

where yıl = 2016;

STORE GECMIS_YILLAR_FIILI INTO 'Q:\GECMIS_YILLAR_FIILI_2016.qvd' (qvd);

drop tables GECMIS_YILLAR_FIILI_2016;

Load * From 'Q:\GECMIS_YILLAR_FIILI_20*.qvd' (qvd);

- Marcus

Not applicable
Author

Thank you so much Marcus Sommer