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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
Gabo77
Contributor III
Contributor III

Assign a variable from field

Is there a way to assign a value to a variable from Field data?... i mean, i  have a table with some values, and i need to obtain a value from this table and assing it to a variable in the script. Can i do that?

 

Regards!

Labels (1)
1 Solution

Accepted Solutions
Saravanan_Desingh
MVP
MVP

Try something like this,

MinDt:
LOAD Min(Date) as MinDate
Resident tab1;

LET vMinDate = Peek('MinDate');

View solution in original post

2 Replies
Saravanan_Desingh
MVP
MVP

Try something like this,

MinDt:
LOAD Min(Date) as MinDate
Resident tab1;

LET vMinDate = Peek('MinDate');
Gabo77
Contributor III
Contributor III
Author

Love it!!... Thanks!