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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Re-using a variable

HI,

I created a variable in the script using LET & some'peek' functions, which gave the value (2012,2,3)

i.e. LET MyVar=peek xxx

As a result.. MyVar=2012,2,3

I am now trying to create a 2nd variable date using the 'makeweekdate' function on the above , so it will evaluate 2012,2,3 to give me an actual date for Year 2012, Week 2, Day 3..

i.e. LET MyDate=makeweekdate(MyVar);

but it really doesn't like this. Does anyone have any ideas please on correcting this or achieving the same thing ?

Thanks in advance

Bob

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try

LET MyDate=makeweekdate($(MyVar));

View solution in original post

2 Replies
swuehl
MVP
MVP

Try

LET MyDate=makeweekdate($(MyVar));

Not applicable
Author

Thank you so much !! 😉