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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. 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

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Try

LET MyDate=makeweekdate($(MyVar));

View solution in original post

2 Replies
swuehl
Champion III
Champion III

Try

LET MyDate=makeweekdate($(MyVar));

Not applicable
Author

Thank you so much !! 😉