Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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