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

Announcements
Posting on Qlik Community is temporarily paused. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
eduardo_dimperio
Specialist II
Specialist II

Working with variables

Hey people,

I need some help, i think will be a silly question cause its very simple to workaround, but i want to learn so i have this 2 codes:

LET vDataCarga_ini=date(today(), 'YYYYMM');

LOAD

*

FROM

[lib://MI_csv/CONSUMO_ELEVADO_DIARIO_$(vDataCarga_ini).qvd](qvd)

WHERE $(vDataCarga_ini)??>(TODAY()-5);

************

CONCAT_TABLE:

LOAD

*

FROM [lib://MI_csv/RS_INDIVIDUAL_READ_*.qvd]

(qvd) where DATE_READ>TODAY()-2;

If i chance code two to

FROM [lib://MI_csv/RS_INDIVIDUAL_READ_??.qvd]

It works fine

So, why i can't do this in code one?

[lib://MI_csv/CONSUMO_ELEVADO_DIARIO_$(vDataCarga_ini)??.qvd](qvd)

10 Replies
eduardo_dimperio
Specialist II
Specialist II
Author

Ahhh thats explain a lot hahahaha.

Another mystery solved by you Sunny