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: 
matamat2906
Contributor
Contributor

Loading of Data files with different Version Nr.

Hello all, 

I have more files that have same "Start name" but other "Ending" due to Upload number.

Exampel:

XYZ_0

XYZ_1

XYZ_2

 

I can make connection for every and that is not problem, but i have every day new Upload number and i need to figur out have can qlik load all of Data that have "XYZ_".

Thank you in advance!

Labels (2)
3 Replies
MK_QSL
MVP
MVP

Use for each loop... See below blog for further help..

https://community.qlik.com/t5/Qlik-Design-Blog/Loops-in-the-Script/ba-p/1473543

Kushal_Chawda
MVP
MVP

@matamat2906  if field names are identical in all the files then you can simply use

Data:

LOAD *

FROM XYZ_*;

If field names are different then you may need to use loops

matamat2906
Contributor
Contributor
Author

Hi guys, 

thx for you suggestions, i have made it with FOR..NEXT.. (see the pic).

I have one more question how it can work in a case of skipped Upload number?!

Exampel: upload number 1 is missing:

XYZ_0

XYZ_2

XYZ_3

 

Kr,