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: 
gr_eldred
Creator II
Creator II

dynamic name in a from

Hi,

I need to load tables with similar names, although the structure of the table name is the same changes in a few letters only.

gr_eldred_0-1589240172515.png

Load*from
[...2bapovZhdeB2BiEl5osztOliJHkdhra2NCIdEJ&listId=3db5105fa9&email=luis.castro%40multimedios.com&appID=](qvx);

se puede hacer así?

Can it be done like this?

Load*from
[...2bapovZhdeB2BiEl5osztOliJHkdhra2NCIdEJ&listId=3db5105fa9&email='%'&appID=](qvx);

Labels (2)
2 Replies
Saravanan_Desingh
MVP
MVP

You can use variable.

Set vEmail= 'luis.castro%40multimedios.com';

Load * from
[...2bapovZhdeB2BiEl5osztOliJHkdhra2NCIdEJ&listId=3db5105fa9&email=$(vEmail)&appID=](qvx);
sathishbabu_s_g
Contributor III
Contributor III

You can use both LET and SET function based way the table name changes.

 

If you think it's always same then define like 

Set tablename = 'luis.castro%40multimedios.com';

If you think it's dynamic and changes a bit then you can use Let function to defined it and  extract the table name string using  left and function