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: 
Supertendi
Contributor II
Contributor II

LOAD INLINE TODAY

Hi All,

I have to load some value to different dimension and one of them has to be Today Date.

this is the script

LOAD * INLINE [
Data_Scadenza, Banca_app, Importo
2020-07-24 00:00:00.000, 'USD - CREDEM C/C' , 500
$(Today()), 'USD - CREDEM C/C' , 350

];

and this is the result

qvCattura.JPG

how can i get the today date?

 

Labels (3)
1 Solution

Accepted Solutions
skamath1
Creator III
Creator III

Try the following code 

 

LET vToday = Today() ;

data:
LOAD * INLINE [
Data_Scadenza, Banca_app, Importo
2020-07-24 00:00:00.000, 'USD - CREDEM C/C' , 500
$(vToday), 'USD - CREDEM C/C' , 350

];

View solution in original post

3 Replies
tresB
Champion III
Champion III

Try using variable like,

Let vToday=today();

Load * Inline [

Field

vToday

]

skamath1
Creator III
Creator III

Try the following code 

 

LET vToday = Today() ;

data:
LOAD * INLINE [
Data_Scadenza, Banca_app, Importo
2020-07-24 00:00:00.000, 'USD - CREDEM C/C' , 500
$(vToday), 'USD - CREDEM C/C' , 350

];

Supertendi
Contributor II
Contributor II
Author

it works,

thanks a lot